/external/clang/lib/AST/ |
D | TemplateName.cpp | 55 if (Storage.is<TemplateDecl *>()) in getKind() 71 TemplateDecl *TemplateName::getAsTemplateDecl() const { in getAsTemplateDecl() 72 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) in getAsTemplateDecl() 85 if (TemplateDecl *Template = getAsTemplateDecl()) { in isDependent() 112 if (TemplateDecl *Template = getAsTemplateDecl()) { in containsUnexpandedParameterPack() 130 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) in print()
|
D | ASTDiagnostic.cpp | 431 TemplateDecl *FromTD, *ToTD; 466 void SetNode(TemplateDecl *FromTD, TemplateDecl *ToTD) { in SetNode() 573 void GetNode(TemplateDecl *&FromTD, TemplateDecl *&ToTD) { in GetNode() 813 TemplateDecl *FromDecl, *ToDecl; in DiffTemplate() 921 TemplateDecl *&ArgDecl) { in GetTemplateDecl() 926 TemplateDecl *DefaultTD = TA.getAsTemplate().getAsTemplateDecl(); in GetTemplateDecl() 1015 TemplateDecl *FromTD, *ToTD; in TreeToString() 1025 TemplateDecl *FromTD, *ToTD; in TreeToString() 1157 void PrintTemplateTemplate(TemplateDecl *FromTD, TemplateDecl *ToTD, in PrintTemplateTemplate()
|
D | ItaniumMangle.cpp | 293 void mangleName(const TemplateDecl *TD, 302 void mangleUnscopedTemplateName(const TemplateDecl *ND); 309 void mangleNestedName(const TemplateDecl *TD, 315 void mangleTemplatePrefix(const TemplateDecl *ND); 518 static const TemplateDecl * 522 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate() 571 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleName() 589 void CXXNameMangler::mangleName(const TemplateDecl *TD, in mangleName() 613 void CXXNameMangler::mangleUnscopedTemplateName(const TemplateDecl *ND) { in mangleUnscopedTemplateName() 633 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleUnscopedTemplateName() [all …]
|
D | MicrosoftMangle.cpp | 73 void mangleUnscopedTemplateName(const TemplateDecl *ND); 74 void mangleTemplateInstantiationName(const TemplateDecl *TD, 361 static const TemplateDecl * 366 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate() 418 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleUnqualifiedName() 752 const TemplateDecl *TD, in mangleTemplateInstantiationName() 769 MicrosoftCXXNameMangler::mangleUnscopedTemplateName(const TemplateDecl *TD) { in mangleUnscopedTemplateName()
|
D | DeclTemplate.cpp | 600 : TemplateDecl(TemplateTemplateParm, DC, L, Id, Params), in TemplateTemplateParmDecl() 687 void TemplateDecl::anchor() { } in anchor()
|
D | Decl.cpp | 139 if (TemplateDecl *Template in getLVForTemplateArgumentList() 466 } else if (const TemplateDecl *temp = dyn_cast<TemplateDecl>(D)) { in getLVForNamespaceScopeDecl() 714 if (const TemplateDecl *TD = dyn_cast<TemplateDecl>(this)) in getExplicitVisibility()
|
D | DeclPrinter.cpp | 66 void VisitTemplateDecl(const TemplateDecl *D); 805 void DeclPrinter::VisitTemplateDecl(const TemplateDecl *D) { in VisitTemplateDecl()
|
D | DumpXML.cpp | 629 void visitTemplateDeclChildren(TemplateDecl *D) { in visitTemplateDeclChildren()
|
D | DeclBase.cpp | 153 return isa<TemplateDecl>(this); in isTemplateDecl()
|
/external/clang/include/clang/AST/ |
D | TemplateName.h | 36 class TemplateDecl; variable 175 typedef llvm::PointerUnion4<TemplateDecl *, 209 explicit TemplateName(TemplateDecl *Template) : Storage(Template) { } in TemplateName() 231 TemplateDecl *getAsTemplateDecl() const; 391 TemplateDecl *Template; 396 TemplateDecl *Template) in QualifiedTemplateName() 410 TemplateDecl *getDecl() const { return Template; } in getDecl() 414 TemplateDecl *getTemplateDecl() const { return Template; } in getTemplateDecl() 421 bool TemplateKeyword, TemplateDecl *Template) { in Profile()
|
D | DeclTemplate.h | 28 class TemplateDecl; variable 215 class TemplateDecl : public NamedDecl { 219 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() function 225 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() function 230 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() function 246 static bool classof(const TemplateDecl *D) { return true; } in classof() 499 class RedeclarableTemplateDecl : public TemplateDecl, 598 : TemplateDecl(DK, DC, L, Name, Params, Decl), Common() { } in RedeclarableTemplateDecl() 1174 class TemplateTemplateParmDecl : public TemplateDecl, 1198 : TemplateDecl(TemplateTemplateParm, DC, L, Id, Params),
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 59 if (TemplateDecl *Template in clang_getTemplateCursorKind() 60 = dyn_cast_or_null<TemplateDecl>(getCursorDecl(C))) in clang_getTemplateCursorKind()
|
D | CXCursor.h | 41 class TemplateDecl; variable 99 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc, 104 std::pair<TemplateDecl *, SourceLocation> getCursorTemplateRef(CXCursor C);
|
D | IndexTypeSourceInfo.cpp | 81 if (const TemplateDecl *D = T->getTemplateName().getAsTemplateDecl()) in VisitTemplateSpecializationTypeLoc()
|
D | CXCursor.cpp | 560 CXCursor cxcursor::MakeCursorTemplateRef(const TemplateDecl *Template, in MakeCursorTemplateRef() 569 std::pair<TemplateDecl *, SourceLocation> 572 return std::make_pair(static_cast<TemplateDecl *>(C.data[0]), in getCursorTemplateRef()
|
D | IndexingContext.cpp | 1049 if (const TemplateDecl *Template = dyn_cast<TemplateDecl>(D)) in getRefCursor()
|
D | CIndexUSRs.cpp | 711 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in VisitTemplateName()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LLVMConventionsChecker.cpp | 88 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector() 102 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 51 if (isa<TemplateDecl>(D)) { in isAcceptableTemplateName() 192 TemplateDecl *TD = cast<TemplateDecl>((*R.begin())->getUnderlyingDecl()); in isTemplateName() 341 if (TemplateDecl *Template = Found.getAsSingle<TemplateDecl>()) in LookupTemplateName() 472 TemplateDecl *Sema::AdjustDeclIfTemplate(Decl *&D) { in AdjustDeclIfTemplate() 473 if (TemplateDecl *Temp = dyn_cast_or_null<TemplateDecl>(D)) { in AdjustDeclIfTemplate() 1659 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier() 1765 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier() 1933 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in NoteAllFoundTemplates() 1969 TemplateDecl *Template = Name.getAsTemplateDecl(); in CheckTemplateIdType() 2459 if (TemplateDecl *Decl = Name.getAsTemplateDecl()) in CheckTemplateTypeArgument() [all …]
|
D | SemaTemplateInstantiate.cpp | 219 TemplateDecl *Template, in InstantiatingTemplate() 370 TemplateDecl *Template, NamedDecl *Param, in InstantiatingTemplate() 494 TemplateDecl *Template = cast<TemplateDecl>((Decl *)Active->Entity); in PrintInstantiationStack() 568 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) in PrintInstantiationStack() 587 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) in PrintInstantiationStack()
|
D | SemaTemplateDeduction.cpp | 387 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() 3957 static bool isSameTemplate(TemplateDecl *T1, TemplateDecl *T2) { in isSameTemplate() 4238 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in MarkUsedTemplateParameters()
|
D | SemaDecl.cpp | 465 if (TemplateDecl *TplDecl = TplName.getAsTemplateDecl()) { in DiagnoseUnknownTypeName() 510 if (CheckTemplate && isa<TemplateDecl>(*I)) in isResultTypeOrTemplate() 672 UnderlyingFirstDecl && isa<TemplateDecl>(UnderlyingFirstDecl)) { in ClassifyName() 797 TemplateDecl *TD in ClassifyName() 798 = cast<TemplateDecl>((*Result.begin())->getUnderlyingDecl()); in ClassifyName() 854 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl)) in ClassifyName() 856 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName() 7921 if (TemplateDecl *TD = dyn_cast<TemplateDecl>(D)) in ActOnFinishDelayedAttribute()
|
D | TreeTransform.h | 959 TemplateDecl *Template); 2828 TemplateDecl *Template = QTN->getTemplateDecl(); in TransformTemplateName() 2831 TemplateDecl *TransTemplate in TransformTemplateName() 2832 = cast_or_null<TemplateDecl>(getDerived().TransformDecl(NameLoc, in TransformTemplateName() 2870 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in TransformTemplateName() 2871 TemplateDecl *TransTemplate in TransformTemplateName() 2872 = cast_or_null<TemplateDecl>(getDerived().TransformDecl(NameLoc, in TransformTemplateName() 9079 TemplateDecl *Template) { in RebuildTemplateName()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 148 class TemplateDecl; variable 4571 TemplateDecl *AdjustDeclIfTemplate(Decl *&Decl); 4760 SubstDefaultTemplateArgumentIfAvailable(TemplateDecl *Template, 4817 bool CheckTemplateArgumentList(TemplateDecl *Template, 5652 TemplateDecl *Template, 5696 TemplateDecl *Template,
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 89 void VisitTemplateDecl(TemplateDecl *D); 1032 void ASTDeclWriter::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl()
|