Better support for template metadata and function templates #247
Labels
Area-Translation
Issues concerning the translation from libclang into Biohazrd
Blocks-ImPlot
Concept-ApiClarity
Issues for improving the clarity of the Biohazrd API
Concept-TemplateSupport
Issues 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.
TranslatedTemplateSpecialization
should expose the parameters used for the template.TemplateSpecializationType
should be reduced to a type which allows you to inspect the template paramersTranslatedTypeReference
for templates.TranslatedTypeReference
and the parameter-related metadata, but that makes walking the type tree more difficult for consumers because they have to handle this edge case.TranslatedTemplate
declaration type which exposes the concept of an uninitialized template.TranslatedRecordTemplate
inheriting fromTranslatedTemplate
to represent record templates.TranslatedTemplateSpecialization
should be updated to reference the templateTranslatedFunctionTemplate
inheriting fromTranslatedTemplate
to represent function templates.TranslatedFunctionTemplateSpecialization
inheriting fromTranslatedFunction
which similar toTranslatedTemplateSpecialization
represents a specific function specialization.TranslatedTemplateSpecialization
toTranslatedRecordTemplateSpecialization
.The text was updated successfully, but these errors were encountered: