-
Notifications
You must be signed in to change notification settings - Fork 190
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
Migrate away from libclang and use libtooling instead #29
Labels
enhancement
New feature or request
Comments
Targeting this for Q2 |
https://github.com/cblichmann/sandboxed-api/tree/clang-tool has an initial implementation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clang's libtooling is the preferred way to access the C++ AST and is much more precise than libclang, which we currently use. libclang deals poorly with macros and has an additional abstraction for source code regions that is convenient, but buggy. On top of this, the LLVM team said that libclang's deficiencies are unlikely to be fixed because fixing them would break the API.
Since libtooling is C++, the generator should also be implemented in C++.
The text was updated successfully, but these errors were encountered: