Home
last modified time | relevance | path

Searched refs:getAsTemplateDecl (Results 1 – 25 of 84) sorted by relevance

1234

/external/clang/lib/AST/
DTemplateName.cpp87 TemplateDecl *TemplateName::getAsTemplateDecl() const { in getAsTemplateDecl() function in TemplateName
95 return sub->getReplacement().getAsTemplateDecl(); in getAsTemplateDecl()
135 if (TemplateDecl *Template = getAsTemplateDecl()) { in isDependent()
162 if (TemplateDecl *Template = getAsTemplateDecl()) { in containsUnexpandedParameterPack()
DASTDiagnostic.cpp1113 Tree.SetTemplateDiff(FromArgTST->getTemplateName().getAsTemplateDecl(), in DiffTypes()
1114 ToArgTST->getTemplateName().getAsTemplateDecl(), in DiffTypes()
1278 FromTST->getTemplateName().getAsTemplateDecl()->getTemplateParameters(); in DiffTemplate()
1280 ToTST->getTemplateName().getAsTemplateDecl()->getTemplateParameters(); in DiffTemplate()
1334 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() == in hasSameBaseTemplate()
1335 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl(); in hasSameBaseTemplate()
1391 return Iter->getAsTemplate().getAsTemplateDecl(); in GetTemplateDecl()
1393 return Iter.getDesugaredTA().getAsTemplate().getAsTemplateDecl(); in GetTemplateDecl()
2006 Tree.SetTemplateDiff(FromOrigTST->getTemplateName().getAsTemplateDecl(), in DiffTemplate()
2007 ToOrigTST->getTemplateName().getAsTemplateDecl(), in DiffTemplate()
DItaniumMangle.cpp926 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleUnscopedTemplateName()
1684 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleTemplatePrefix()
1746 TD = TN.getAsTemplateDecl(); in mangleType()
1878 TemplateDecl *TD = TN.getAsTemplateDecl(); in mangleUnresolvedTypeOrSimpleId()
2928 if (TemplateDecl *TD = T->getTemplateName().getAsTemplateDecl()) { in mangleType()
4231 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleSubstitution()
4396 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in addSubstitution()
/external/llvm-project/clang/lib/AST/
DTemplateName.cpp101 TemplateDecl *TemplateName::getAsTemplateDecl() const { in getAsTemplateDecl() function in TemplateName
109 return sub->getReplacement().getAsTemplateDecl(); in getAsTemplateDecl()
157 TemplateDecl *Decl = getAsTemplateDecl(); in getNameToSubstitute()
192 if (TemplateDecl *Template = getAsTemplateDecl()) { in getDependence()
DASTDiagnostic.cpp1153 Tree.SetTemplateDiff(FromArgTST->getTemplateName().getAsTemplateDecl(), in DiffTypes()
1154 ToArgTST->getTemplateName().getAsTemplateDecl(), in DiffTypes()
1318 FromTST->getTemplateName().getAsTemplateDecl()->getTemplateParameters(); in DiffTemplate()
1320 ToTST->getTemplateName().getAsTemplateDecl()->getTemplateParameters(); in DiffTemplate()
1374 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() == in hasSameBaseTemplate()
1375 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl(); in hasSameBaseTemplate()
1431 return Iter->getAsTemplate().getAsTemplateDecl(); in GetTemplateDecl()
1433 return Iter.getDesugaredTA().getAsTemplate().getAsTemplateDecl(); in GetTemplateDecl()
2054 Tree.SetTemplateDiff(FromOrigTST->getTemplateName().getAsTemplateDecl(), in DiffTemplate()
2055 ToOrigTST->getTemplateName().getAsTemplateDecl(), in DiffTemplate()
DQualTypeNames.cpp62 TemplateDecl *ArgTDecl = TName.getAsTemplateDecl(); in getFullyQualifiedTemplateName()
328 Decl = TST->getTemplateName().getAsTemplateDecl(); in createNestedNameSpecifierForScopeOf()
DCXXInheritance.cpp258 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl())) in lookupInBases()
423 const auto *TD = dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in findOrdinaryMemberInDependentClasses()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardingReferenceOverloadCheck.cpp24 if (!Spec || !Spec->getTemplateName().getAsTemplateDecl()) { in AST_MATCHER()
28 Spec->getTemplateName().getAsTemplateDecl()->getTemplatedDecl(); in AST_MATCHER()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedUsingDeclsCheck.cpp44 if (const auto *TD = Node.getTemplateName().getAsTemplateDecl()) in AST_MATCHER_P()
142 if (const auto *TD = Used->getAsTemplate().getAsTemplateDecl()) in check()
/external/llvm-project/clang-tools-extra/clangd/
DFindTarget.cpp80 TST->getTemplateName().getAsTemplateDecl()); in resolveTypeToRecordDecl()
564 if (auto *TD = DTST->getTemplateName().getAsTemplateDecl()) in add()
600 TST->getTemplateName().getAsTemplateDecl()->getTemplatedDecl(), in add()
607 TST->getTemplateName().getAsTemplateDecl())) in add()
614 if (auto *TD = TST->getTemplateName().getAsTemplateDecl()) in add()
677 if (TemplateDecl *TD = Arg.getAsTemplate().getAsTemplateDecl()) { in add()
1060 .getAsTemplateDecl()) in TraverseTemplateArgumentLoc()
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp89 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector()
103 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp87 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector()
101 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
/external/llvm-project/clang/lib/Index/
DIndexTypeSourceInfo.cpp148 } else if (const TemplateDecl *D = TemplName.getAsTemplateDecl()) { in HandleTemplateSpecializationTypeLoc()
211 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in VisitDependentNameTypeLoc()
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DRecursiveSymbolVisitor.h97 if (!visit(TemplateSpecType->getTemplateName().getAsTemplateDecl(), in VisitTypeLoc()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp78 TemplateDecl *ArgTDecl = TName.getAsTemplateDecl(); in getFullyQualifiedTemplateName()
344 Decl = TST->getTemplateName().getAsTemplateDecl(); in createNestedNameSpecifierForScopeOf()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitConstructorCheck.cpp72 if (const TemplateDecl *TD = TS->getTemplateName().getAsTemplateDecl()) in isStdInitializerList()
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp114 if (const TemplateDecl *D = T->getTemplateName().getAsTemplateDecl()) in VisitTemplateSpecializationTypeLoc()
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRLocFinder.cpp412 if (isInUSRSet(TemplateSpecType->getTemplateName().getAsTemplateDecl())) { in VisitTypeLoc()
429 TemplateSpecType->getTemplateName().getAsTemplateDecl(), in VisitTypeLoc()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp250 TST->getTemplateName().getAsTemplateDecl())) in findDeclInBases()
324 Ref.getTypePtr()->getTemplateName().getAsTemplateDecl(); in check()
/external/llvm-project/clang/include/clang/AST/
DTemplateName.h254 TemplateDecl *getAsTemplateDecl() const;
/external/clang/include/clang/AST/
DTemplateName.h229 TemplateDecl *getAsTemplateDecl() const;
/external/clang/lib/Sema/
DSemaTemplate.cpp1569 dyn_cast_or_null<TemplateTemplateParmDecl>(N.getAsTemplateDecl())) in TraverseTemplateName()
1712 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier()
1849 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier()
2015 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in NoteAllFoundTemplates()
2129 TemplateDecl *Template = Name.getAsTemplateDecl(); in CheckTemplateIdType()
2387 dyn_cast_or_null<TypeAliasTemplateDecl>(Template.getAsTemplateDecl())) { in ActOnTagTemplateIdType()
2478 Arg.getAsTemplateOrTemplatePattern().getAsTemplateDecl()); in isTemplateArgumentTemplateParameter()
2540 dyn_cast_or_null<VarTemplateDecl>(Name.getAsTemplateDecl()); in ActOnVarTemplateSpecialization()
2546 FnTemplate = dyn_cast_or_null<FunctionTemplateDecl>(Name.getAsTemplateDecl()); in ActOnVarTemplateSpecialization()
3131 if (TemplateDecl *Decl = Name.getAsTemplateDecl()) in CheckTemplateTypeArgument()
[all …]
DSemaCXXScopeSpec.cpp103 SpecType->getTemplateName().getAsTemplateDecl())) { in computeDeclContext()
933 TemplateDecl *TD = Template.get().getAsTemplateDecl(); in ActOnCXXNestedNameSpecifier()
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp101 SpecType->getTemplateName().getAsTemplateDecl())) { in computeDeclContext()
941 TemplateDecl *TD = Template.getAsTemplateDecl(); in ActOnCXXNestedNameSpecifier()
/external/llvm-project/clang-tools-extra/clang-doc/
DSerialize.cpp337 const TemplateDecl *D = Ty->getTemplateName().getAsTemplateDecl(); in parseBases()
452 const TemplateDecl *D = Ty->getTemplateName().getAsTemplateDecl(); in parseBases()

1234