Home
last modified time | relevance | path

Searched refs:TemplateDecl (Results 1 – 25 of 33) sorted by relevance

12

/external/clang/lib/AST/
DTemplateName.cpp55 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()
DItaniumMangle.cpp262 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 …]
DDeclPrinter.cpp64 void VisitTemplateDecl(const TemplateDecl *D);
697 void DeclPrinter::VisitTemplateDecl(const TemplateDecl *D) { in VisitTemplateDecl()
DDecl.cpp178 if (TemplateDecl *Template in getLVForTemplateArgumentList()
463 } else if (const TemplateDecl *temp = dyn_cast<TemplateDecl>(D)) { in getLVForNamespaceScopeDecl()
DDumpXML.cpp622 void visitTemplateDeclChildren(TemplateDecl *D) { in visitTemplateDeclChildren()
DASTImporter.cpp4155 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/
DTemplateName.h39 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()
DDeclTemplate.h25 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),
DASTContext.h1019 TemplateDecl *Template) const;
/external/clang/tools/libclang/
DCXCursor.h41 class TemplateDecl; variable
92 CXCursor MakeCursorTemplateRef(TemplateDecl *Template, SourceLocation Loc,
97 std::pair<TemplateDecl *, SourceLocation> getCursorTemplateRef(CXCursor C);
DCIndexCXX.cpp55 if (TemplateDecl *Template in clang_getTemplateCursorKind()
56 = dyn_cast_or_null<TemplateDecl>(getCursorDecl(C))) in clang_getTemplateCursorKind()
DCXCursor.cpp290 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()
DCIndexUSRs.cpp700 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in VisitTemplateName()
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp89 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector()
103 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
DIteratorsChecker.cpp193 TemplateDecl *td = tname.getAsTemplateDecl(); in getTemplateKind()
/external/clang/lib/Sema/
DSemaTemplate.cpp48 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 …]
DSemaTemplateInstantiate.cpp194 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()
DSemaTemplateDeduction.cpp376 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments()
3697 static bool isSameTemplate(TemplateDecl *T1, TemplateDecl *T2) { in isSameTemplate()
3960 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in MarkUsedTemplateParameters()
DTreeTransform.h916 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()
DSemaDecl.cpp346 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/
Dgcmole.cc212 if (clang::TemplateDecl* decl = in IsHandleType()
/external/clang/include/clang/Sema/
DSema.h134 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/
DASTWriterDecl.cpp84 void VisitTemplateDecl(TemplateDecl *D);
987 void ASTDeclWriter::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl()
DASTReaderDecl.cpp123 void VisitTemplateDecl(TemplateDecl *D);
1046 void ASTDeclReader::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl()
DASTReader.cpp4779 return TemplateName(cast_or_null<TemplateDecl>(GetDecl(Record[Idx++]))); in ReadTemplateName()
4793 TemplateDecl *Template = cast<TemplateDecl>(GetDecl(Record[Idx++])); in ReadTemplateName()

12