Skip to content

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

@maxdebayser

Description

@maxdebayser

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions