Searched refs:TemplateKW (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang/lib/Tooling/Syntax/ |
D | BuildTree.cpp | 764 const auto *TemplateKW = Builder.findToken(L.getTemplateLoc()); in handleFreeStandingTagDecl() local 765 auto R = llvm::makeArrayRef(TemplateKW, DeclarationRange.end()); in handleFreeStandingTagDecl() 767 foldTemplateDeclaration(R, TemplateKW, DeclarationRange, nullptr); in handleFreeStandingTagDecl() 1614 const syntax::Token *TemplateKW, in foldExplicitTemplateInstantiation() argument 1617 assert(TemplateKW && TemplateKW->kind() == tok::kw_template); in foldExplicitTemplateInstantiation() 1619 Builder.markChildToken(TemplateKW, syntax::NodeRole::IntroducerKeyword); in foldExplicitTemplateInstantiation() 1626 ArrayRef<syntax::Token> Range, const syntax::Token *TemplateKW, in foldTemplateDeclaration() argument 1628 assert(TemplateKW && TemplateKW->kind() == tok::kw_template); in foldTemplateDeclaration() 1629 Builder.markChildToken(TemplateKW, syntax::NodeRole::IntroducerKeyword); in foldTemplateDeclaration()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 7223 : TemplateKW(TemplateKWLoc) {} in TemplateKW() function 7225 RequiredTemplateKind(TemplateNameIsRequiredTag) : TemplateKW() {} in RequiredTemplateKind() 7228 return TemplateKW.getValueOr(SourceLocation()); in getTemplateKeywordLoc() 7231 bool isRequired() const { return TemplateKW != SourceLocation(); } in isRequired() 7235 llvm::Optional<SourceLocation> TemplateKW;
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 1068 bool TemplateKW, 11696 bool TemplateKW, in RebuildTemplateName() argument 11698 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
|
/external/llvm-project/clang/lib/Sema/ |
D | TreeTransform.h | 1212 bool TemplateKW, 14190 bool TemplateKW, in RebuildTemplateName() argument 14192 return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW, in RebuildTemplateName()
|