/external/clang/lib/AST/ |
D | TemplateName.cpp | 58 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {} in TemplateName() 71 if (Storage.is<TemplateDecl *>()) in getKind() 87 TemplateDecl *TemplateName::getAsTemplateDecl() const { in getAsTemplateDecl() 88 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) in getAsTemplateDecl() 135 if (TemplateDecl *Template = getAsTemplateDecl()) { in isDependent() 162 if (TemplateDecl *Template = getAsTemplateDecl()) { in containsUnexpandedParameterPack() 180 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) in print()
|
D | ASTDiagnostic.cpp | 530 TemplateDecl *TD = nullptr; 580 void SetTemplateDiff(TemplateDecl *FromTD, TemplateDecl *ToTD, in SetTemplateDiff() 610 void SetTemplateTemplateDiff(TemplateDecl *FromTD, TemplateDecl *ToTD, in SetTemplateTemplateDiff() 748 void GetTemplateDiff(TemplateDecl *&FromTD, TemplateDecl *&ToTD, in GetTemplateDiff() 769 void GetTemplateTemplateDiff(TemplateDecl *&FromTD, TemplateDecl *&ToTD) { in GetTemplateTemplateDiff() 1124 TemplateDecl *FromDecl = GetTemplateDecl(FromIter); in DiffTemplateTemplates() 1125 TemplateDecl *ToDecl = GetTemplateDecl(ToIter); in DiffTemplateTemplates() 1389 static TemplateDecl *GetTemplateDecl(const TSTiterator &Iter) { in GetTemplateDecl() 1445 TemplateDecl *FromTD, *ToTD; in TreeToString() 1514 TemplateDecl *FromTD, *ToTD; in TreeToString() [all …]
|
D | ItaniumMangle.cpp | 472 void mangleTemplateName(const TemplateDecl *TD, 485 void mangleUnscopedTemplateName(const TemplateDecl *ND, 500 void mangleNestedName(const TemplateDecl *TD, 506 void mangleTemplatePrefix(const TemplateDecl *ND, bool NoFunction=false); 773 static const TemplateDecl * 777 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate() 859 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleNameWithAbiTags() 877 void CXXNameMangler::mangleTemplateName(const TemplateDecl *TD, in mangleTemplateName() 902 const TemplateDecl *ND, const AbiTagList *AdditionalAbiTags) { in mangleUnscopedTemplateName() 926 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleUnscopedTemplateName() [all …]
|
D | MicrosoftMangle.cpp | 327 void mangleUnscopedTemplateName(const TemplateDecl *ND); 329 mangleTemplateInstantiationName(const TemplateDecl *TD, 357 void mangleTemplateArgs(const TemplateDecl *TD, 359 void mangleTemplateArg(const TemplateDecl *TD, const TemplateArgument &TA, 696 static const TemplateDecl * 700 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate() 732 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleUnqualifiedName() 1117 const TemplateDecl *TD, const TemplateArgumentList &TemplateArgs) { in mangleTemplateInstantiationName() 1140 MicrosoftCXXNameMangler::mangleUnscopedTemplateName(const TemplateDecl *TD) { in mangleUnscopedTemplateName() 1215 const TemplateDecl *TD, const TemplateArgumentList &TemplateArgs) { in mangleTemplateArgs() [all …]
|
D | DeclTemplate.cpp | 602 : TemplateDecl(TemplateTemplateParm, DC, L, Id, Params), in TemplateTemplateParmDecl() 699 void TemplateDecl::anchor() { } in anchor() 1238 : TemplateDecl(BuiltinTemplate, DC, SourceLocation(), Name, in BuiltinTemplateDecl()
|
D | Decl.cpp | 344 if (TemplateDecl *Template = in getLVForTemplateArgumentList() 813 } else if (const auto *temp = dyn_cast<TemplateDecl>(D)) { in getLVForNamespaceScopeDecl() 865 isa<TemplateDecl>(D))) in getLVForClassMember() 969 } else if (const auto *temp = dyn_cast<TemplateDecl>(D)) { in getLVForClassMember() 986 assert(!explicitSpecSuppressor || !isa<TemplateDecl>(explicitSpecSuppressor)); in getLVForClassMember() 1106 if (const auto *TD = dyn_cast<TemplateDecl>(ND)) in getExplicitVisibilityAux()
|
D | ASTDumper.cpp | 454 template<typename TemplateDecl> 455 void VisitTemplateDecl(const TemplateDecl *D, bool DumpExplicitInst); 1376 template<typename TemplateDecl> 1377 void ASTDumper::VisitTemplateDecl(const TemplateDecl *D, in VisitTemplateDecl()
|
/external/clang/include/clang/AST/ |
D | TemplateName.h | 37 class TemplateDecl; variable 177 typedef llvm::PointerUnion4<TemplateDecl *, 209 explicit TemplateName(TemplateDecl *Template); 229 TemplateDecl *getAsTemplateDecl() const; 367 TemplateDecl *Template; 372 TemplateDecl *Template) in QualifiedTemplateName() 386 TemplateDecl *getDecl() const { return Template; } in getDecl() 390 TemplateDecl *getTemplateDecl() const { return Template; } in getTemplateDecl() 397 bool TemplateKeyword, TemplateDecl *Template) { in Profile()
|
D | DeclTemplate.h | 31 class TemplateDecl; variable 330 class TemplateDecl : public NamedDecl { 334 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name) in TemplateDecl() function 340 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in TemplateDecl() function 346 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in TemplateDecl() function 629 class RedeclarableTemplateDecl : public TemplateDecl, 716 : TemplateDecl(DK, DC, L, Name, Params, Decl), redeclarable_base(C), in RedeclarableTemplateDecl() 1328 : public TemplateDecl, 1353 : TemplateDecl(TemplateTemplateParm, DC, L, Id, Params), 1490 class BuiltinTemplateDecl : public TemplateDecl {
|
D | DeclBase.h | 55 class TemplateDecl; variable 909 TemplateDecl *getDescribedTemplate() const;
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 59 if (const TemplateDecl *Template in clang_getTemplateCursorKind() 60 = dyn_cast_or_null<TemplateDecl>(getCursorDecl(C))) in clang_getTemplateCursorKind()
|
D | CXCursor.h | 41 class TemplateDecl; variable 100 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc, 105 std::pair<const TemplateDecl *, SourceLocation>
|
D | CXType.cpp | 930 const ClassTemplateSpecializationDecl *TemplateDecl = in clang_Type_getNumTemplateArguments() local 932 if (!TemplateDecl) in clang_Type_getNumTemplateArguments() 934 return TemplateDecl->getTemplateArgs().size(); in clang_Type_getNumTemplateArguments() 944 const ClassTemplateSpecializationDecl *TemplateDecl = in clang_Type_getTemplateArgumentAsType() local 946 if (!TemplateDecl) in clang_Type_getTemplateArgumentAsType() 948 const TemplateArgumentList &TA = TemplateDecl->getTemplateArgs(); in clang_Type_getTemplateArgumentAsType()
|
D | CXCursor.cpp | 721 CXCursor cxcursor::MakeCursorTemplateRef(const TemplateDecl *Template, in MakeCursorTemplateRef() 730 std::pair<const TemplateDecl *, SourceLocation> 733 return std::make_pair(static_cast<const TemplateDecl *>(C.data[0]), in getCursorTemplateRef()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LLVMConventionsChecker.cpp | 89 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector() 103 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
|
/external/v8/tools/clang/plugins/ |
D | FindBadConstructsConsumer.cpp | 657 if (TemplateDecl* decl = name.getAsTemplateDecl()) { in CountType() 738 if (TemplateDecl* decl = name.getAsTemplateDecl()) { in IsRefCounted() 923 const TemplateDecl* template_decl = in CheckWeakPtrFactoryMembers()
|
D | CheckIPCVisitor.cpp | 135 TemplateDecl* decl = spec->getTemplateName().getAsTemplateDecl(); in ValidateCheckedTuple()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 56 if (isa<TemplateDecl>(D)) { in isAcceptableTemplateName() 197 TemplateDecl *TD = cast<TemplateDecl>((*R.begin())->getUnderlyingDecl()); in isTemplateName() 481 TemplateDecl *Sema::AdjustDeclIfTemplate(Decl *&D) { in AdjustDeclIfTemplate() 482 if (TemplateDecl *Temp = dyn_cast_or_null<TemplateDecl>(D)) { in AdjustDeclIfTemplate() 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() 3131 if (TemplateDecl *Decl = Name.getAsTemplateDecl()) in CheckTemplateTypeArgument() 3248 TemplateDecl *Template, in SubstDefaultTemplateArgument() [all …]
|
D | SemaTemplateInstantiate.cpp | 250 Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, in InstantiatingTemplate() 320 Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, in InstantiatingTemplate() 446 TemplateDecl *Template = cast<TemplateDecl>(Active->Entity); in PrintInstantiationStack() 518 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) in PrintInstantiationStack() 537 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) in PrintInstantiationStack()
|
/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 114 if (const TemplateDecl *D = T->getTemplateName().getAsTemplateDecl()) in VisitTemplateSpecializationTypeLoc()
|
D | IndexingContext.cpp | 222 if (auto TD = dyn_cast<TemplateDecl>(D)) { in getCanonicalDecl()
|
D | IndexDecl.cpp | 384 bool VisitTemplateDecl(const TemplateDecl *D) { in VisitTemplateDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 317 DeclID VisitTemplateDecl(TemplateDecl *D); 1855 DeclID ASTDeclReader::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl() 2722 if (TemplateDecl *TemplateX = dyn_cast<TemplateDecl>(X)) { in isSameEntity() 2723 TemplateDecl *TemplateY = cast<TemplateDecl>(Y); in isSameEntity() 3107 TemplateDecl *From, in inheritDefaultTemplateArguments() 3108 TemplateDecl *To) { in inheritDefaultTemplateArguments() 3157 if (TemplateDecl *TD = dyn_cast<TemplateDecl>(D)) in attachPreviousDecl() 3159 cast<TemplateDecl>(Previous), TD); in attachPreviousDecl()
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 248 AST_MATCHER_P(TemplateDecl, hasTemplateDecl, in AST_MATCHER_P() argument
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 78 TemplateDecl *ArgTDecl = TName.getAsTemplateDecl(); in getFullyQualifiedTemplateName()
|