Home
last modified time | relevance | path

Searched refs:TemplateName (Results 1 – 25 of 49) sorted by relevance

12

/external/clang/include/clang/AST/
DTemplateName.h175 class TemplateName {
183 explicit TemplateName(void *Ptr) { in TemplateName() function
209 TemplateName() : Storage() { } in TemplateName() function
210 explicit TemplateName(TemplateDecl *Template) : Storage(Template) { } in TemplateName() function
211 explicit TemplateName(OverloadedTemplateStorage *Storage) in TemplateName() function
213 explicit TemplateName(SubstTemplateTemplateParmStorage *Storage);
214 explicit TemplateName(SubstTemplateTemplateParmPackStorage *Storage) in TemplateName() function
216 explicit TemplateName(QualifiedTemplateName *Qual) : Storage(Qual) { } in TemplateName() function
217 explicit TemplateName(DependentTemplateName *Dep) : Storage(Dep) { } in TemplateName() function
288 TemplateName getUnderlying() const;
[all …]
DTemplateBase.h117 TemplateArgument(TemplateName, bool) = delete;
161 TemplateArgument(TemplateName Name) { in TemplateArgument()
178 TemplateArgument(TemplateName Name, Optional<unsigned> NumExpansions) { in TemplateArgument()
264 TemplateName getAsTemplate() const { in getAsTemplate()
266 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplate()
271 TemplateName getAsTemplateOrTemplatePattern() const { in getAsTemplateOrTemplatePattern()
275 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplateOrTemplatePattern()
DASTContext.h1126 QualType getTemplateSpecializationType(TemplateName T,
1131 QualType getCanonicalTemplateSpecializationType(TemplateName T,
1135 QualType getTemplateSpecializationType(TemplateName T,
1140 getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,
1573 DeclarationNameInfo getNameForTemplate(TemplateName Name,
1576 TemplateName getOverloadedTemplateName(UnresolvedSetIterator Begin,
1579 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
1583 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
1585 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
1587 TemplateName getSubstTemplateTemplateParm(TemplateTemplateParmDecl *param,
[all …]
DASTImporter.h161 TemplateName Import(TemplateName From);
/external/clang/lib/AST/
DTemplateName.cpp36 TemplateName replacement) { in Profile()
54 TemplateName::NameKind TemplateName::getKind() const { in getKind()
71 TemplateDecl *TemplateName::getAsTemplateDecl() const { in getAsTemplateDecl()
84 bool TemplateName::isDependent() const { in isDependent()
102 bool TemplateName::isInstantiationDependent() const { in isInstantiationDependent()
111 bool TemplateName::containsUnexpandedParameterPack() const { in containsUnexpandedParameterPack()
128 TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy, in print()
160 TemplateName N) { in operator <<()
173 void TemplateName::dump(raw_ostream &OS) const { in dump()
180 void TemplateName::dump() const { in dump()
DItaniumMangle.cpp316 bool mangleSubstitution(TemplateName Template);
320 void mangleExistingSubstitution(TemplateName name);
330 void addSubstitution(TemplateName Template);
349 void mangleUnscopedTemplateName(TemplateName);
364 void mangleTemplatePrefix(TemplateName Template);
381 void mangleType(TemplateName);
665 void CXXNameMangler::mangleUnscopedTemplateName(TemplateName Template) { in mangleUnscopedTemplateName()
781 TemplateName Template = getASTContext().getDependentTemplateName( in manglePrefix()
1372 void CXXNameMangler::mangleTemplatePrefix(TemplateName Template) { in mangleTemplatePrefix()
1423 void CXXNameMangler::mangleType(TemplateName TN) { in mangleType()
[all …]
DCMakeLists.txt53 TemplateName.cpp
DASTContext.cpp3205 ASTContext::getTemplateSpecializationTypeInfo(TemplateName Name, in getTemplateSpecializationTypeInfo()
3226 ASTContext::getTemplateSpecializationType(TemplateName Template, in getTemplateSpecializationType()
3255 ASTContext::getTemplateSpecializationType(TemplateName Template, in getTemplateSpecializationType()
3263 Template = TemplateName(QTN->getTemplateDecl()); in getTemplateSpecializationType()
3297 ASTContext::getCanonicalTemplateSpecializationType(TemplateName Template, in getCanonicalTemplateSpecializationType()
3305 Template = TemplateName(QTN->getTemplateDecl()); in getCanonicalTemplateSpecializationType()
3308 TemplateName CanonTemplate = getCanonicalTemplateName(Template); in getCanonicalTemplateSpecializationType()
4074 ASTContext::getNameForTemplate(TemplateName Name, in getNameForTemplate()
4077 case TemplateName::QualifiedTemplate: in getNameForTemplate()
4078 case TemplateName::Template: in getNameForTemplate()
[all …]
DAndroid.mk75 TemplateName.cpp \
DASTImporter.cpp1751 TemplateName ToTemplate = Importer.Import(T->getTemplateName()); in VisitTemplateSpecializationType()
2133 TemplateName ToTemplate = Importer.Import(From.getAsTemplate()); in ImportTemplateArgument()
2141 TemplateName ToTemplate in ImportTemplateArgument()
4848 TemplateName ASTImporter::Import(TemplateName From) { in Import()
4850 case TemplateName::Template: in Import()
4853 return TemplateName(ToTemplate); in Import()
4855 return TemplateName(); in Import()
4857 case TemplateName::OverloadedTemplate: { in Import()
4866 return TemplateName(); in Import()
4872 case TemplateName::QualifiedTemplate: { in Import()
[all …]
DType.cpp1997 TemplateSpecializationType(TemplateName T, in TemplateSpecializationType()
2009 assert((T.getKind() == TemplateName::Template || in TemplateSpecializationType()
2010 T.getKind() == TemplateName::SubstTemplateTemplateParm || in TemplateSpecializationType()
2011 T.getKind() == TemplateName::SubstTemplateTemplateParmPack) && in TemplateSpecializationType()
2044 TemplateName T, in Profile()
DTypeLoc.cpp389 TemplateName Template = Args[i].getAsTemplateOrTemplatePattern(); in initializeArgLocs()
DDeclTemplate.cpp231 Arg = TemplateArgument(TemplateName(TTP), Optional<unsigned>()); in GenerateInjectedTemplateArgs()
233 Arg = TemplateArgument(TemplateName(TTP)); in GenerateInjectedTemplateArgs()
477 = Context.getTemplateSpecializationType(TemplateName(this), in getInjectedClassNameSpecialization()
/external/clang/lib/Parse/
DParseExprCXX.cpp91 UnqualifiedId TemplateName; in CheckForTemplateAndDigraph() local
92 TemplateName.setIdentifier(&II, Tok.getLocation()); in CheckForTemplateAndDigraph()
95 TemplateName, ObjectType, EnteringContext, in CheckForTemplateAndDigraph()
317 UnqualifiedId TemplateName; in ParseOptionalCXXScopeSpecifier() local
320 TemplateName.setIdentifier(Tok.getIdentifierInfo(), Tok.getLocation()); in ParseOptionalCXXScopeSpecifier()
328 TemplateName)) { in ParseOptionalCXXScopeSpecifier()
333 if (TemplateName.getKind() != UnqualifiedId::IK_OperatorFunctionId && in ParseOptionalCXXScopeSpecifier()
334 TemplateName.getKind() != UnqualifiedId::IK_LiteralOperatorId) { in ParseOptionalCXXScopeSpecifier()
335 Diag(TemplateName.getSourceRange().getBegin(), in ParseOptionalCXXScopeSpecifier()
337 << TemplateName.getSourceRange(); in ParseOptionalCXXScopeSpecifier()
[all …]
DParseTemplate.cpp931 UnqualifiedId &TemplateName, in AnnotateTemplateIdToken() argument
938 SourceLocation TemplateNameLoc = TemplateName.getSourceRange().getBegin(); in AnnotateTemplateIdToken()
986 if (TemplateName.getKind() == UnqualifiedId::IK_Identifier) { in AnnotateTemplateIdToken()
987 TemplateId->Name = TemplateName.Identifier; in AnnotateTemplateIdToken()
991 TemplateId->Operator = TemplateName.OperatorFunctionId.Operator; in AnnotateTemplateIdToken()
DParser.cpp1625 UnqualifiedId TemplateName; in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1626 TemplateName.setIdentifier(Tok.getIdentifierInfo(), Tok.getLocation()); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1630 /*hasTemplateKeyword=*/false, TemplateName, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1637 TemplateName)) { in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
/external/clang/include/clang/Sema/
DOwnership.h33 class TemplateName; variable
259 typedef OpaquePtr<TemplateName> ParsedTemplateTy;
/external/clang/tools/libclang/
DCXCursor.h42 class TemplateName; variable
230 CXCursor MakeCursorOverloadedDeclRef(TemplateName Template,
DCursorVisitor.h246 bool VisitTemplateName(TemplateName Name, SourceLocation Loc);
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp88 TemplateName TM = TS->getTemplateName(); in IsStdVector()
102 TemplateName TM = TS->getTemplateName(); in IsSmallVector()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp748 TemplateName
749 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
900 TemplateName Template = Arg.getAsTemplate(); in TransformDecl()
1016 TemplateName TemplateInstantiator::TransformTemplateName(CXXScopeSpec &SS, in TransformTemplateName()
1017 TemplateName Name, in TransformTemplateName()
1048 TemplateName Template = Arg.getAsTemplate(); in TransformTemplateName()
1055 Template = TemplateName(QTN->getTemplateDecl()); in TransformTemplateName()
2729 TemplateName
2731 TemplateName Name, SourceLocation Loc, in SubstTemplateName()
DSemaTemplate.cpp182 TemplateName Template; in isTemplateName()
202 Template = TemplateName(TD); in isTemplateName()
503 TemplateName Template = Arg.getAsTemplate().get(); in translateTemplateArgument()
1538 bool TraverseTemplateName(TemplateName N) { in TraverseTemplateName()
1985 void Sema::NoteAllFoundTemplates(TemplateName Name) { in NoteAllFoundTemplates()
2010 QualType Sema::CheckTemplateIdType(TemplateName Name, in CheckTemplateIdType()
2086 TemplateName CanonName = Context.getCanonicalTemplateName(Name); in CheckTemplateIdType()
2182 TemplateName Template = TemplateD.get(); in ActOnTemplateIdType()
2249 TemplateName Template = TemplateD.get(); in ActOnTagTemplateIdType()
2431 TemplateName Name = TemplateId->Template.get(); in ActOnVarTemplateSpecialization()
[all …]
DTreeTransform.h491 TemplateName
492 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
583 TemplateName Template);
588 TemplateName Template,
843 QualType RebuildTemplateSpecializationType(TemplateName Template,
884 TemplateName InstName in RebuildDependentTemplateSpecializationType()
1034 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1045 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1058 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1070 TemplateName RebuildTemplateName(TemplateTemplateParmDecl *Param, in RebuildTemplateName()
[all …]
DSemaTemplateVariadic.cpp81 bool TraverseTemplateName(TemplateName Template) { in TraverseTemplateName()
347 TemplateName Template, in DiagnoseUnexpandedParameterPack()
/external/clang/lib/Index/
DUSRGeneration.cpp144 void VisitTemplateName(TemplateName Name);
752 void USRGenerator::VisitTemplateName(TemplateName Name) { in VisitTemplateName()

12