/external/clang/lib/AST/ |
D | TemplateName.cpp | 87 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()
|
D | ASTDiagnostic.cpp | 1113 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()
|
D | ItaniumMangle.cpp | 926 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/ |
D | TemplateName.cpp | 101 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()
|
D | ASTDiagnostic.cpp | 1153 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()
|
D | QualTypeNames.cpp | 62 TemplateDecl *ArgTDecl = TName.getAsTemplateDecl(); in getFullyQualifiedTemplateName() 328 Decl = TST->getTemplateName().getAsTemplateDecl(); in createNestedNameSpecifierForScopeOf()
|
D | CXXInheritance.cpp | 258 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/ |
D | ForwardingReferenceOverloadCheck.cpp | 24 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/ |
D | UnusedUsingDeclsCheck.cpp | 44 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/ |
D | FindTarget.cpp | 80 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/ |
D | LLVMConventionsChecker.cpp | 89 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector() 103 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | LLVMConventionsChecker.cpp | 87 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector() 101 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 148 } 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/ |
D | RecursiveSymbolVisitor.h | 97 if (!visit(TemplateSpecType->getTemplateName().getAsTemplateDecl(), in VisitTypeLoc()
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 78 TemplateDecl *ArgTDecl = TName.getAsTemplateDecl(); in getFullyQualifiedTemplateName() 344 Decl = TST->getTemplateName().getAsTemplateDecl(); in createNestedNameSpecifierForScopeOf()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | ExplicitConstructorCheck.cpp | 72 if (const TemplateDecl *TD = TS->getTemplateName().getAsTemplateDecl()) in isStdInitializerList()
|
/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 114 if (const TemplateDecl *D = T->getTemplateName().getAsTemplateDecl()) in VisitTemplateSpecializationTypeLoc()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | USRLocFinder.cpp | 412 if (isInUSRSet(TemplateSpecType->getTemplateName().getAsTemplateDecl())) { in VisitTypeLoc() 429 TemplateSpecType->getTemplateName().getAsTemplateDecl(), in VisitTypeLoc()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | RenamerClangTidyCheck.cpp | 250 TST->getTemplateName().getAsTemplateDecl())) in findDeclInBases() 324 Ref.getTypePtr()->getTemplateName().getAsTemplateDecl(); in check()
|
/external/llvm-project/clang/include/clang/AST/ |
D | TemplateName.h | 254 TemplateDecl *getAsTemplateDecl() const;
|
/external/clang/include/clang/AST/ |
D | TemplateName.h | 229 TemplateDecl *getAsTemplateDecl() const;
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 1569 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 …]
|
D | SemaCXXScopeSpec.cpp | 103 SpecType->getTemplateName().getAsTemplateDecl())) { in computeDeclContext() 933 TemplateDecl *TD = Template.get().getAsTemplateDecl(); in ActOnCXXNestedNameSpecifier()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 101 SpecType->getTemplateName().getAsTemplateDecl())) { in computeDeclContext() 941 TemplateDecl *TD = Template.getAsTemplateDecl(); in ActOnCXXNestedNameSpecifier()
|
/external/llvm-project/clang-tools-extra/clang-doc/ |
D | Serialize.cpp | 337 const TemplateDecl *D = Ty->getTemplateName().getAsTemplateDecl(); in parseBases() 452 const TemplateDecl *D = Ty->getTemplateName().getAsTemplateDecl(); in parseBases()
|