-
Notifications
You must be signed in to change notification settings - Fork 68
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
UINT_MAX
not expanded to typemax(Cuint)
#288
Comments
This is possible if we also do a dependency analysis on those macro identifiers. |
It seems that |
For now, macros are skipped in the dependency searching for identifiers. https://github.com/JuliaInterop/Clang.jl/blob/master/src/generator/macro.jl#L174-L179 In general, macro support is hard to be done in an elegant way with libclang. The main reason is libclang doesn't expose enough info about tokens. I think we should not invest too much time in this. Once ClangCompiler.jl hits a good coverage rate of Clang API, we can make full use of Clang's parser/preprocessor/lexer API. As for the OSPP project, it's OK to ignore those macro-related goals. |
I see the same for |
https://github.com/flux-framework/flux-core/blob/ed8a7d2f14320fa8b2d5f5377f117eceb205b065/src/common/libidset/idset.h#L32
got expanded to:
on current master
The text was updated successfully, but these errors were encountered: