Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IGNORED_ARG does not work anymore with ENUM #179

Open
anporumb opened this issue Dec 3, 2020 · 0 comments
Open

IGNORED_ARG does not work anymore with ENUM #179

anporumb opened this issue Dec 3, 2020 · 0 comments

Comments

@anporumb
Copy link
Contributor

anporumb commented Dec 3, 2020

(this is for C++).

image

yields

image

Here's a simple repro:

typedef enum E
{A,B,C} E;

void f(E e)
{
    (void)e;
}

int main(void)
{
    f(0);
    f(A);
    return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant