-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-133228: c-analyzer clang preprocessor #133229
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
base: main
Are you sure you want to change the base?
gh-133228: c-analyzer clang preprocessor #133229
Conversation
import re | ||
|
||
from . import common as _common | ||
from . import gcc as _gcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to move the parts used from gcc
in this new clang module to common
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would, but I would leave this for when this is stable. And would need to look into it a bit more to get a sense what can be common and what is best to be left separate.
For now I would not rather mess with gcc.
And will add a warning that this is experimental with a list of skipped files.
Any chance you are running osx and could check if it works for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows, sorry.
In addition getting the following 2 errors:
|
Included these 2 into tsvs. Not sure why they were not failing in tests. Can only run clang, not gcc, so can not tell. |
Few minor deviations from gcc, but all seems to be working correctly.
Changes (apart from main implementation):