Home
last modified time | relevance | path

Searched refs:ExternLoc (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseTemplate.cpp1644 SourceLocation ExternLoc, in ParseExplicitInstantiation() argument
1654 Context, ParsedTemplateInfo(ExternLoc, TemplateLoc), in ParseExplicitInstantiation()
1664 if (ExternLoc.isValid()) in getSourceRange()
1665 R.setBegin(ExternLoc); in getSourceRange()
H A DParser.cpp991 SourceLocation ExternLoc = ConsumeToken(); in ParseExternalDeclaration() local
993 Diag(ExternLoc, getLangOpts().CPlusPlus11 ? in ParseExternalDeclaration()
995 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc); in ParseExternalDeclaration()
998 DeclaratorContext::File, ExternLoc, TemplateLoc, DeclEnd, Attrs)); in ParseExternalDeclaration()
H A DParseDeclCXX.cpp1638 const_cast<ParsedTemplateInfo &>(TemplateInfo).ExternLoc = in ParseClassSpecifier()
1865 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
1942 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
H A DParseDecl.cpp2378 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, D); in ParseDeclarationAfterDeclaratorAndAttributes()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclTemplate.h1854 SourceLocation ExternLoc;
2057 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
2064 ExplicitInfo->ExternLoc = Loc;
2716 SourceLocation ExternLoc;
2910 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
2917 ExplicitInfo->ExternLoc = Loc;
H A DDeclCXX.h2843 SourceLocation ExternLoc;
2848 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc,
2853 SourceLocation ExternLoc,
2873 SourceLocation getExternLoc() const { return ExternLoc; } in getExternLoc()
2875 void setExternLoc(SourceLocation L) { ExternLoc = L; } in setExternLoc()
2890 return SourceRange(ExternLoc, getEndLoc()); in getSourceRange()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h1502 explicit ParsedTemplateInfo(SourceLocation ExternLoc, in ParsedTemplateInfo()
1505 ExternLoc(ExternLoc), TemplateLoc(TemplateLoc), in ParsedTemplateInfo()
1526 SourceLocation ExternLoc; member
3433 SourceLocation ExternLoc,
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp2811 LinkageSpecDecl::LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() argument
2815 ExternLoc(ExternLoc), RBraceLoc(SourceLocation()) { in LinkageSpecDecl()
2824 SourceLocation ExternLoc, in Create() argument
2828 return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces); in Create()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplate.cpp9614 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, in ActOnExplicitInstantiation() argument
9653 TemplateSpecializationKind TSK = ExternLoc.isInvalid() in ActOnExplicitInstantiation()
9663 Diag(ExternLoc, in ActOnExplicitInstantiation()
9671 Diag(ExternLoc, in ActOnExplicitInstantiation()
9802 Specialization->setExternLoc(ExternLoc); in ActOnExplicitInstantiation()
9918 Sema::ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
9968 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
10033 SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
10107 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
H A DSemaDeclCXX.cpp16273 Decl *Sema::ActOnStartLinkageSpecification(Scope *S, SourceLocation ExternLoc, in ActOnStartLinkageSpecification() argument
16297 LinkageSpecDecl *D = LinkageSpecDecl::Create(Context, CurContext, ExternLoc, in ActOnStartLinkageSpecification()
16312 PushGlobalModuleFragment(ExternLoc, /*IsImplicit=*/true); in ActOnStartLinkageSpecification()
/llvm-project-15.0.7/clang/lib/Lex/
H A DModuleMap.cpp2162 SourceLocation ExternLoc = consumeToken(); // 'extern' keyword in parseExternModuleDecl() local
2202 FileID(), nullptr, ExternLoc); in parseExternModuleDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp2340 ExplicitInfo->ExternLoc = readSourceLocation(); in VisitClassTemplateSpecializationDeclImpl()
2419 ExplicitInfo->ExternLoc = readSourceLocation(); in VisitVarTemplateSpecializationDeclImpl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h7272 SourceLocation ExternLoc,
8039 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc,
8045 DeclResult ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc,
8053 SourceLocation ExternLoc,