17 get_annotations_for_decl(decl_to_check);
18 cerr <<
"Making annotations object for " << name << endl;
19 if (
auto spec_decl = dyn_cast<ClassTemplateSpecializationDecl>(decl_to_check)) {
20 cerr << fmt::format(
"{} is a template, getting any tmeplate annotations available", name) << endl;
22 <<
" annotations available" << endl;
25 cerr <<
"Not a template" << endl;
static map< const ClassTemplateDecl *, Annotations > annotations_for_class_templates
void merge(const Annotations &other)
std::string get_canonical_name_for_decl(const TypeDecl *decl)
static map< const CXXRecordDecl *, string > names_for_record_decls
static map< const CXXRecordDecl *, Annotations > annotations_for_record_decls