/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 | ItaniumMangle.cpp | 262 void mangleName(const TemplateDecl *TD, 271 void mangleUnscopedTemplateName(const TemplateDecl *ND); 277 void mangleNestedName(const TemplateDecl *TD, 283 void mangleTemplatePrefix(const TemplateDecl *ND); 485 static const TemplateDecl * 489 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate() 529 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleName() 547 void CXXNameMangler::mangleName(const TemplateDecl *TD, in mangleName() 570 void CXXNameMangler::mangleUnscopedTemplateName(const TemplateDecl *ND) { in mangleUnscopedTemplateName() 590 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleUnscopedTemplateName() [all …]
|
D | DeclPrinter.cpp | 64 void VisitTemplateDecl(const TemplateDecl *D); 697 void DeclPrinter::VisitTemplateDecl(const TemplateDecl *D) { in VisitTemplateDecl()
|
D | Decl.cpp | 178 if (TemplateDecl *Template in getLVForTemplateArgumentList() 463 } else if (const TemplateDecl *temp = dyn_cast<TemplateDecl>(D)) { in getLVForNamespaceScopeDecl()
|
D | DumpXML.cpp | 622 void visitTemplateDeclChildren(TemplateDecl *D) { in visitTemplateDeclChildren()
|
D | ASTImporter.cpp | 4155 if (TemplateDecl *ToTemplate in Import() 4156 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import() 4182 if (TemplateDecl *ToTemplate in Import() 4183 = cast_or_null<TemplateDecl>(Import(From.getAsTemplateDecl()))) in Import()
|
/external/clang/include/clang/AST/ |
D | TemplateName.h | 39 class TemplateDecl; variable 178 typedef llvm::PointerUnion4<TemplateDecl *, 212 explicit TemplateName(TemplateDecl *Template) : Storage(Template) { } in TemplateName() 234 TemplateDecl *getAsTemplateDecl() const; 394 TemplateDecl *Template; 399 TemplateDecl *Template) in QualifiedTemplateName() 413 TemplateDecl *getDecl() const { return Template; } in getDecl() 417 TemplateDecl *getTemplateDecl() const { return Template; } in getTemplateDecl() 424 bool TemplateKeyword, TemplateDecl *Template) { in Profile()
|
D | DeclTemplate.h | 25 class TemplateDecl; variable 199 class TemplateDecl : public NamedDecl { 202 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() function 208 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() function 213 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() function 229 static bool classof(const TemplateDecl *D) { return true; } in classof() 484 class RedeclarableTemplateDecl : public TemplateDecl { 590 : TemplateDecl(DK, DC, L, Name, Params, Decl), in RedeclarableTemplateDecl() 1206 : public TemplateDecl, protected TemplateParmPosition { 1219 : TemplateDecl(TemplateTemplateParm, DC, L, Id, Params),
|
D | ASTContext.h | 1019 TemplateDecl *Template) const;
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 41 class TemplateDecl; variable 92 CXCursor MakeCursorTemplateRef(TemplateDecl *Template, SourceLocation Loc, 97 std::pair<TemplateDecl *, SourceLocation> getCursorTemplateRef(CXCursor C);
|
D | CIndexCXX.cpp | 55 if (TemplateDecl *Template in clang_getTemplateCursorKind() 56 = dyn_cast_or_null<TemplateDecl>(getCursorDecl(C))) in clang_getTemplateCursorKind()
|
D | CXCursor.cpp | 290 CXCursor cxcursor::MakeCursorTemplateRef(TemplateDecl *Template, in MakeCursorTemplateRef() 299 std::pair<TemplateDecl *, SourceLocation> 302 return std::make_pair(static_cast<TemplateDecl *>(C.data[0]), in getCursorTemplateRef()
|
D | CIndexUSRs.cpp | 700 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in VisitTemplateName()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LLVMConventionsChecker.cpp | 89 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector() 103 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
|
D | IteratorsChecker.cpp | 193 TemplateDecl *td = tname.getAsTemplateDecl(); in getTemplateKind()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 48 if (isa<TemplateDecl>(D)) in isAcceptableTemplateName() 183 TemplateDecl *TD = cast<TemplateDecl>((*R.begin())->getUnderlyingDecl()); in isTemplateName() 317 if (TemplateDecl *Template = Found.getAsSingle<TemplateDecl>()) in LookupTemplateName() 440 TemplateDecl *Sema::AdjustDeclIfTemplate(Decl *&D) { in AdjustDeclIfTemplate() 441 if (TemplateDecl *Temp = dyn_cast_or_null<TemplateDecl>(D)) { in AdjustDeclIfTemplate() 1565 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier() 1671 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier() 1839 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in NoteAllFoundTemplates() 1876 TemplateDecl *Template = Name.getAsTemplateDecl(); in CheckTemplateIdType() 2347 if (TemplateDecl *Decl = Name.getAsTemplateDecl()) in CheckTemplateTypeArgument() [all …]
|
D | SemaTemplateInstantiate.cpp | 194 TemplateDecl *Template, in InstantiatingTemplate() 360 TemplateDecl *Template, in InstantiatingTemplate() 481 TemplateDecl *Template = cast<TemplateDecl>((Decl *)Active->Entity); in PrintInstantiationStack() 555 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) in PrintInstantiationStack() 574 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) in PrintInstantiationStack()
|
D | SemaTemplateDeduction.cpp | 376 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() 3697 static bool isSameTemplate(TemplateDecl *T1, TemplateDecl *T2) { in isSameTemplate() 3960 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in MarkUsedTemplateParameters()
|
D | TreeTransform.h | 916 TemplateDecl *Template); 2681 TemplateDecl *Template = QTN->getTemplateDecl(); in TransformTemplateName() 2684 TemplateDecl *TransTemplate in TransformTemplateName() 2685 = cast_or_null<TemplateDecl>(getDerived().TransformDecl(NameLoc, in TransformTemplateName() 2723 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in TransformTemplateName() 2724 TemplateDecl *TransTemplate in TransformTemplateName() 2725 = cast_or_null<TemplateDecl>(getDerived().TransformDecl(NameLoc, in TransformTemplateName() 8245 TemplateDecl *Template) { in RebuildTemplateName()
|
D | SemaDecl.cpp | 346 if (TemplateDecl *TplDecl = TplName.getAsTemplateDecl()) { in DiagnoseUnknownTypeName() 390 if (CheckTemplate && isa<TemplateDecl>(*I)) in isResultTypeOrTemplate() 530 UnderlyingFirstDecl && isa<TemplateDecl>(UnderlyingFirstDecl)) { in ClassifyName() 652 TemplateDecl *TD in ClassifyName() 653 = cast<TemplateDecl>((*Result.begin())->getUnderlyingDecl()); in ClassifyName()
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 212 if (clang::TemplateDecl* decl = in IsHandleType()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 134 class TemplateDecl; variable 3610 TemplateDecl *AdjustDeclIfTemplate(Decl *&Decl); 3794 SubstDefaultTemplateArgumentIfAvailable(TemplateDecl *Template, 3846 bool CheckTemplateArgumentList(TemplateDecl *Template, 4614 TemplateDecl *Template, 4664 TemplateDecl *Template,
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 84 void VisitTemplateDecl(TemplateDecl *D); 987 void ASTDeclWriter::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl()
|
D | ASTReaderDecl.cpp | 123 void VisitTemplateDecl(TemplateDecl *D); 1046 void ASTDeclReader::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl()
|
D | ASTReader.cpp | 4779 return TemplateName(cast_or_null<TemplateDecl>(GetDecl(Record[Idx++]))); in ReadTemplateName() 4793 TemplateDecl *Template = cast<TemplateDecl>(GetDecl(Record[Idx++])); in ReadTemplateName()
|