-
-
Notifications
You must be signed in to change notification settings - Fork 10
Better support for template metadata and function templates #247
Copy link
Copy link
Open
Labels
Area-TranslationIssues concerning the translation from libclang into BiohazrdIssues concerning the translation from libclang into BiohazrdBlocks-ImPlotConcept-ApiClarityIssues for improving the clarity of the Biohazrd APIIssues for improving the clarity of the Biohazrd APIConcept-TemplateSupportIssues concerning how Biohazrd handles C++ templatesIssues concerning how Biohazrd handles C++ templates
Metadata
Metadata
Assignees
Labels
Area-TranslationIssues concerning the translation from libclang into BiohazrdIssues concerning the translation from libclang into BiohazrdBlocks-ImPlotConcept-ApiClarityIssues for improving the clarity of the Biohazrd APIIssues for improving the clarity of the Biohazrd APIConcept-TemplateSupportIssues concerning how Biohazrd handles C++ templatesIssues concerning how Biohazrd handles C++ templates
Right now reading template-related information is difficult to do since you end up having to deal with low-level Clang details. We should expose template-related concepts in a way that makes it possible for specialized generators to inspect them.
TranslatedTemplateSpecializationshould expose the parameters used for the template.TemplateSpecializationTypeshould be reduced to a type which allows you to inspect the template paramersTranslatedTypeReferencefor templates.TranslatedTypeReferenceand the parameter-related metadata, but that makes walking the type tree more difficult for consumers because they have to handle this edge case.TranslatedTemplatedeclaration type which exposes the concept of an uninitialized template.TranslatedRecordTemplateinheriting fromTranslatedTemplateto represent record templates.TranslatedTemplateSpecializationshould be updated to reference the templateTranslatedFunctionTemplateinheriting fromTranslatedTemplateto represent function templates.TranslatedFunctionTemplateSpecializationinheriting fromTranslatedFunctionwhich similar toTranslatedTemplateSpecializationrepresents a specific function specialization.TranslatedTemplateSpecializationtoTranslatedRecordTemplateSpecialization.