Index: include/clang-c/Index.h =================================================================== --- include/clang-c/Index.h +++ include/clang-c/Index.h @@ -2747,7 +2747,12 @@ CXType_IncompleteArray = 114, CXType_VariableArray = 115, CXType_DependentSizedArray = 116, - CXType_MemberPointer = 117 + CXType_MemberPointer = 117, + CXType_TemplateTypeParm = 118, + CXType_SubstTemplateTypeParm = 119, + CXType_SubstTemplateTypeParmPack = 120, + CXType_TemplateSpecialization = 121, + CXType_DependentTemplateSpecialization = 122, }; /** Index: tools/libclang/CXType.cpp =================================================================== --- tools/libclang/CXType.cpp +++ tools/libclang/CXType.cpp @@ -90,6 +90,11 @@ TKCASE(DependentSizedArray); TKCASE(Vector); TKCASE(MemberPointer); + TKCASE(TemplateTypeParm); + TKCASE(SubstTemplateTypeParm); + TKCASE(SubstTemplateTypeParmPack); + TKCASE(TemplateSpecialization); + TKCASE(DependentTemplateSpecialization); default: return CXType_Unexposed; } @@ -483,6 +488,11 @@ TKIND(DependentSizedArray); TKIND(Vector); TKIND(MemberPointer); + TKIND(TemplateTypeParm); + TKIND(SubstTemplateTypeParm); + TKIND(SubstTemplateTypeParmPack); + TKIND(TemplateSpecialization); + TKIND(DependentTemplateSpecialization); } #undef TKIND return cxstring::createRef(s);