Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseTemplate.cpp1339 SourceLocation ExternLoc, in ParseExplicitInstantiation() argument
1349 Context, ParsedTemplateInfo(ExternLoc, TemplateLoc), in ParseExplicitInstantiation()
1359 if (ExternLoc.isValid()) in getSourceRange()
1360 R.setBegin(ExternLoc); in getSourceRange()
H A DParser.cpp827 SourceLocation ExternLoc = ConsumeToken(); in ParseExternalDeclaration() local
829 Diag(ExternLoc, getLangOpts().CPlusPlus11 ? in ParseExternalDeclaration()
831 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc); in ParseExternalDeclaration()
834 ParseExplicitInstantiation(DeclaratorContext::FileContext, ExternLoc, in ParseExternalDeclaration()
H A DParseDeclCXX.cpp1590 const_cast<ParsedTemplateInfo&>(TemplateInfo).ExternLoc in ParseClassSpecifier()
1779 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
1859 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
H A DParseDecl.cpp2213 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, D); in ParseDeclarationAfterDeclaratorAndAttributes()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclTemplate.h1673 SourceLocation ExternLoc;
1854 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
1861 ExplicitInfo->ExternLoc = Loc;
2501 SourceLocation ExternLoc;
2689 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
2696 ExplicitInfo->ExternLoc = Loc;
H A DDeclCXX.h2844 SourceLocation ExternLoc;
2849 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc,
2854 SourceLocation ExternLoc,
2874 SourceLocation getExternLoc() const { return ExternLoc; }
2876 void setExternLoc(SourceLocation L) { ExternLoc = L; }
2891 return SourceRange(ExternLoc, getEndLoc());
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h1323 explicit ParsedTemplateInfo(SourceLocation ExternLoc, in ParsedTemplateInfo()
1326 ExternLoc(ExternLoc), TemplateLoc(TemplateLoc), in ParsedTemplateInfo()
1347 SourceLocation ExternLoc; member
2957 SourceLocation ExternLoc,
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp2517 LinkageSpecDecl::LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() argument
2521 ExternLoc(ExternLoc), RBraceLoc(SourceLocation()) { in LinkageSpecDecl()
2530 SourceLocation ExternLoc, in Create() argument
2534 return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces); in Create()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplate.cpp8644 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, in ActOnExplicitInstantiation() argument
8683 TemplateSpecializationKind TSK = ExternLoc.isInvalid() in ActOnExplicitInstantiation()
8691 Diag(ExternLoc, in ActOnExplicitInstantiation()
8699 Diag(ExternLoc, in ActOnExplicitInstantiation()
8821 Specialization->setExternLoc(ExternLoc); in ActOnExplicitInstantiation()
8924 Sema::ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
8974 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
9044 SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
9118 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
H A DSemaDeclCXX.cpp13645 Decl *Sema::ActOnStartLinkageSpecification(Scope *S, SourceLocation ExternLoc, in ActOnStartLinkageSpecification() argument
13669 LinkageSpecDecl *D = LinkageSpecDecl::Create(Context, CurContext, ExternLoc, in ActOnStartLinkageSpecification()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DModuleMap.cpp2090 SourceLocation ExternLoc = consumeToken(); // 'extern' keyword in parseExternModuleDecl() local
2130 FileID(), nullptr, ExternLoc); in parseExternModuleDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h5748 SourceLocation ExternLoc,
6369 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc,
6375 DeclResult ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc,
6383 SourceLocation ExternLoc,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp2218 ExplicitInfo->ExternLoc = ReadSourceLocation(); in VisitClassTemplateSpecializationDeclImpl()
2292 ExplicitInfo->ExternLoc = ReadSourceLocation(); in VisitVarTemplateSpecializationDeclImpl()