Home
last modified time | relevance | path

Searched refs:TemplateName (Results 1 – 25 of 48) 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()
261 TemplateName getAsTemplate() const { in getAsTemplate()
263 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplate()
268 TemplateName getAsTemplateOrTemplatePattern() const { in getAsTemplateOrTemplatePattern()
272 return TemplateName::getFromVoidPointer(TemplateArg.Name); in getAsTemplateOrTemplatePattern()
DASTContext.h1226 QualType getTemplateSpecializationType(TemplateName T,
1231 QualType getCanonicalTemplateSpecializationType(TemplateName T,
1235 QualType getTemplateSpecializationType(TemplateName T,
1240 getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,
1712 DeclarationNameInfo getNameForTemplate(TemplateName Name,
1715 TemplateName getOverloadedTemplateName(UnresolvedSetIterator Begin,
1718 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
1722 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
1724 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
1726 TemplateName getSubstTemplateTemplateParm(TemplateTemplateParmDecl *param,
[all …]
DASTImporter.h166 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.cpp314 bool mangleSubstitution(TemplateName Template);
318 void mangleExistingSubstitution(TemplateName name);
328 void addSubstitution(TemplateName Template);
347 void mangleUnscopedTemplateName(TemplateName);
362 void mangleTemplatePrefix(TemplateName Template);
379 void mangleType(TemplateName);
663 void CXXNameMangler::mangleUnscopedTemplateName(TemplateName Template) { in mangleUnscopedTemplateName()
778 TemplateName Template = getASTContext().getDependentTemplateName( in manglePrefix()
1370 void CXXNameMangler::mangleTemplatePrefix(TemplateName Template) { in mangleTemplatePrefix()
1421 void CXXNameMangler::mangleType(TemplateName TN) { in mangleType()
[all …]
DCMakeLists.txt58 TemplateName.cpp
DASTContext.cpp3327 ASTContext::getTemplateSpecializationTypeInfo(TemplateName Name, in getTemplateSpecializationTypeInfo()
3348 ASTContext::getTemplateSpecializationType(TemplateName Template, in getTemplateSpecializationType()
3377 ASTContext::getTemplateSpecializationType(TemplateName Template, in getTemplateSpecializationType()
3385 Template = TemplateName(QTN->getTemplateDecl()); in getTemplateSpecializationType()
3419 ASTContext::getCanonicalTemplateSpecializationType(TemplateName Template, in getCanonicalTemplateSpecializationType()
3427 Template = TemplateName(QTN->getTemplateDecl()); in getCanonicalTemplateSpecializationType()
3430 TemplateName CanonTemplate = getCanonicalTemplateName(Template); in getCanonicalTemplateSpecializationType()
4234 ASTContext::getNameForTemplate(TemplateName Name, in getNameForTemplate()
4237 case TemplateName::QualifiedTemplate: in getNameForTemplate()
4238 case TemplateName::Template: in getNameForTemplate()
[all …]
DAndroid.mk80 TemplateName.cpp \
DASTImporter.cpp1794 TemplateName ToTemplate = Importer.Import(T->getTemplateName()); in VisitTemplateSpecializationType()
2187 TemplateName ToTemplate = Importer.Import(From.getAsTemplate()); in ImportTemplateArgument()
2195 TemplateName ToTemplate in ImportTemplateArgument()
5586 TemplateName ASTImporter::Import(TemplateName From) { in Import()
5588 case TemplateName::Template: in Import()
5591 return TemplateName(ToTemplate); in Import()
5593 return TemplateName(); in Import()
5595 case TemplateName::OverloadedTemplate: { in Import()
5604 return TemplateName(); in Import()
5610 case TemplateName::QualifiedTemplate: { in Import()
[all …]
DDeclTemplate.cpp235 Arg = TemplateArgument(TemplateName(TTP), Optional<unsigned>()); in GenerateInjectedTemplateArgs()
237 Arg = TemplateArgument(TemplateName(TTP)); in GenerateInjectedTemplateArgs()
481 = Context.getTemplateSpecializationType(TemplateName(this), in getInjectedClassNameSpecialization()
DTypeLoc.cpp490 TemplateName Template = Args[i].getAsTemplateOrTemplatePattern(); in initializeArgLocs()
DTemplateBase.cpp267 TemplateName Template = getAsTemplateOrTemplatePattern(); in Profile()
/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.cpp952 UnqualifiedId &TemplateName, in AnnotateTemplateIdToken() argument
959 SourceLocation TemplateNameLoc = TemplateName.getSourceRange().getBegin(); in AnnotateTemplateIdToken()
1007 if (TemplateName.getKind() == UnqualifiedId::IK_Identifier) { in AnnotateTemplateIdToken()
1008 TemplateId->Name = TemplateName.Identifier; in AnnotateTemplateIdToken()
1012 TemplateId->Operator = TemplateName.OperatorFunctionId.Operator; in AnnotateTemplateIdToken()
DParser.cpp1731 UnqualifiedId TemplateName; in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1732 TemplateName.setIdentifier(Tok.getIdentifierInfo(), Tok.getLocation()); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1736 /*hasTemplateKeyword=*/false, TemplateName, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1743 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
227 CXCursor MakeCursorOverloadedDeclRef(TemplateName Template,
DCursorVisitor.h249 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.cpp762 TemplateName
763 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
884 TemplateName Template = Arg.getAsTemplate(); in TransformDecl()
1000 TemplateName TemplateInstantiator::TransformTemplateName(CXXScopeSpec &SS, in TransformTemplateName()
1001 TemplateName Name, in TransformTemplateName()
1032 TemplateName Template = Arg.getAsTemplate(); in TransformTemplateName()
1039 Template = TemplateName(QTN->getTemplateDecl()); in TransformTemplateName()
2701 TemplateName
2703 TemplateName Name, SourceLocation Loc, in SubstTemplateName()
DSemaTemplate.cpp182 TemplateName Template; in isTemplateName()
202 Template = TemplateName(TD); in isTemplateName()
504 TemplateName Template = Arg.getAsTemplate().get(); in translateTemplateArgument()
1550 bool TraverseTemplateName(TemplateName N) { in TraverseTemplateName()
1997 void Sema::NoteAllFoundTemplates(TemplateName Name) { in NoteAllFoundTemplates()
2074 QualType Sema::CheckTemplateIdType(TemplateName Name, in CheckTemplateIdType()
2150 TemplateName CanonName = Context.getCanonicalTemplateName(Name); in CheckTemplateIdType()
2249 TemplateName Template = TemplateD.get(); in ActOnTemplateIdType()
2316 TemplateName Template = TemplateD.get(); in ActOnTagTemplateIdType()
2498 TemplateName Name = TemplateId->Template.get(); in ActOnVarTemplateSpecialization()
[all …]
DTreeTransform.h492 TemplateName
493 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
588 TemplateName Template);
593 TemplateName Template,
864 QualType RebuildTemplateSpecializationType(TemplateName Template,
905 TemplateName InstName in RebuildDependentTemplateSpecializationType()
1055 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1066 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1079 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1091 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);
759 void USRGenerator::VisitTemplateName(TemplateName Name) { in VisitTemplateName()

12