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

Fix the parser's behavior for the --no-force-templates switch #6

Open
maxdebayser opened this issue Nov 2, 2012 · 0 comments
Open
Labels

Comments

@maxdebayser
Copy link
Owner

There are some cases where a method returns a a template specialization like vector. In these cases clang doesn't include the templates definition in the AST, only its declaration. The reason is that a forward declaration of the type would enough. But because we can't emit meta-data for methods that depend on incomplete types, we force clang to instatiate the template. There is a switch that disables this behavior but it is broken since I've made the parser build its own representation of the translation unit instead of printing the meta-data directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant