Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclTemplate.h1554 SourceLocation ExternLoc;
1559 : TypeAsWritten(nullptr), ExternLoc(), TemplateKeywordLoc() {}
1738 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
1744 ExplicitInfo->ExternLoc = Loc;
2399 SourceLocation ExternLoc;
2404 : TypeAsWritten(nullptr), ExternLoc(), TemplateKeywordLoc() {}
2575 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
2581 ExplicitInfo->ExternLoc = Loc;
DDeclCXX.h2546 SourceLocation ExternLoc; variable
2550 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() argument
2553 Language(lang), HasBraces(HasBraces), ExternLoc(ExternLoc), in LinkageSpecDecl()
2558 SourceLocation ExternLoc,
2575 SourceLocation getExternLoc() const { return ExternLoc; } in getExternLoc()
2577 void setExternLoc(SourceLocation L) { ExternLoc = L; } in setExternLoc()
2592 return SourceRange(ExternLoc, getLocEnd()); in getSourceRange()
/external/clang/lib/Parse/
DParseTemplate.cpp1300 SourceLocation ExternLoc, in ParseExplicitInstantiation() argument
1309 ParsedTemplateInfo(ExternLoc, in ParseExplicitInstantiation()
1321 if (ExternLoc.isValid()) in getSourceRange()
1322 R.setBegin(ExternLoc); in getSourceRange()
DParser.cpp788 SourceLocation ExternLoc = ConsumeToken(); in ParseExternalDeclaration() local
790 Diag(ExternLoc, getLangOpts().CPlusPlus11 ? in ParseExternalDeclaration()
792 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc); in ParseExternalDeclaration()
796 ExternLoc, TemplateLoc, DeclEnd)); in ParseExternalDeclaration()
DParseDeclCXX.cpp1429 const_cast<ParsedTemplateInfo&>(TemplateInfo).ExternLoc in ParseClassSpecifier()
1618 TemplateInfo.ExternLoc, in ParseClassSpecifier()
1706 TemplateInfo.ExternLoc, in ParseClassSpecifier()
DParseDecl.cpp1986 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, D); in ParseDeclarationAfterDeclaratorAndAttributes()
/external/llvm-project/clang/lib/Parse/
DParseTemplate.cpp1597 SourceLocation ExternLoc, in ParseExplicitInstantiation() argument
1607 Context, ParsedTemplateInfo(ExternLoc, TemplateLoc), in ParseExplicitInstantiation()
1617 if (ExternLoc.isValid()) in getSourceRange()
1618 R.setBegin(ExternLoc); in getSourceRange()
DParser.cpp942 SourceLocation ExternLoc = ConsumeToken(); in ParseExternalDeclaration() local
944 Diag(ExternLoc, getLangOpts().CPlusPlus11 ? in ParseExternalDeclaration()
946 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc); in ParseExternalDeclaration()
949 DeclaratorContext::File, ExternLoc, TemplateLoc, DeclEnd, attrs)); in ParseExternalDeclaration()
DParseDeclCXX.cpp1598 const_cast<ParsedTemplateInfo &>(TemplateInfo).ExternLoc = in ParseClassSpecifier()
1825 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
1905 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
/external/llvm-project/clang/include/clang/AST/
DDeclTemplate.h1823 SourceLocation ExternLoc;
2026 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
2033 ExplicitInfo->ExternLoc = Loc;
2685 SourceLocation ExternLoc;
2878 return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
2885 ExplicitInfo->ExternLoc = Loc;
DDeclCXX.h2786 SourceLocation ExternLoc;
2791 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc,
2796 SourceLocation ExternLoc,
2816 SourceLocation getExternLoc() const { return ExternLoc; } in getExternLoc()
2818 void setExternLoc(SourceLocation L) { ExternLoc = L; } in setExternLoc()
2833 return SourceRange(ExternLoc, getEndLoc()); in getSourceRange()
/external/clang/include/clang/Parse/
DParser.h1156 explicit ParsedTemplateInfo(SourceLocation ExternLoc, in ParsedTemplateInfo()
1159 ExternLoc(ExternLoc), TemplateLoc(TemplateLoc), in ParsedTemplateInfo()
1180 SourceLocation ExternLoc; member
2641 SourceLocation ExternLoc,
/external/llvm-project/clang/include/clang/Parse/
DParser.h1483 explicit ParsedTemplateInfo(SourceLocation ExternLoc, in ParsedTemplateInfo()
1486 ExternLoc(ExternLoc), TemplateLoc(TemplateLoc), in ParsedTemplateInfo()
1507 SourceLocation ExternLoc; member
3332 SourceLocation ExternLoc,
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp2790 LinkageSpecDecl::LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() argument
2794 ExternLoc(ExternLoc), RBraceLoc(SourceLocation()) { in LinkageSpecDecl()
2803 SourceLocation ExternLoc, in Create() argument
2807 return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces); in Create()
/external/clang/lib/Sema/
DSemaTemplate.cpp7321 SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
7372 TemplateSpecializationKind TSK = ExternLoc.isInvalid() in ActOnExplicitInstantiation()
7380 Diag(ExternLoc, in ActOnExplicitInstantiation()
7388 Diag(ExternLoc, in ActOnExplicitInstantiation()
7510 Specialization->setExternLoc(ExternLoc); in ActOnExplicitInstantiation()
7602 SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
7654 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
7724 SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
7800 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
DSemaDeclCXX.cpp12123 Decl *Sema::ActOnStartLinkageSpecification(Scope *S, SourceLocation ExternLoc, in ActOnStartLinkageSpecification() argument
12147 LinkageSpecDecl *D = LinkageSpecDecl::Create(Context, CurContext, ExternLoc, in ActOnStartLinkageSpecification()
/external/llvm-project/clang/lib/Sema/
DSemaTemplate.cpp9523 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, in ActOnExplicitInstantiation() argument
9562 TemplateSpecializationKind TSK = ExternLoc.isInvalid() in ActOnExplicitInstantiation()
9572 Diag(ExternLoc, in ActOnExplicitInstantiation()
9580 Diag(ExternLoc, in ActOnExplicitInstantiation()
9711 Specialization->setExternLoc(ExternLoc); in ActOnExplicitInstantiation()
9822 Sema::ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
9872 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
9937 SourceLocation ExternLoc, in ActOnExplicitInstantiation() argument
10011 = ExternLoc.isInvalid()? TSK_ExplicitInstantiationDefinition in ActOnExplicitInstantiation()
/external/clang/lib/AST/
DDeclCXX.cpp2016 SourceLocation ExternLoc, in Create() argument
2020 return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces); in Create()
DASTImporter.cpp3865 SourceLocation ExternLoc = Importer.Import(D->getExternLoc()); in VisitLinkageSpecDecl() local
3873 ExternLoc, in VisitLinkageSpecDecl()
/external/clang/lib/Lex/
DModuleMap.cpp1568 SourceLocation ExternLoc = consumeToken(); // 'extern' keyword in parseExternModuleDecl() local
1607 : File->getDir(), ExternLoc); in parseExternModuleDecl()
/external/llvm-project/clang/lib/Lex/
DModuleMap.cpp2132 SourceLocation ExternLoc = consumeToken(); // 'extern' keyword in parseExternModuleDecl() local
2172 FileID(), nullptr, ExternLoc); in parseExternModuleDecl()
/external/clang/include/clang/Sema/
DSema.h5268 SourceLocation ExternLoc,
5846 SourceLocation ExternLoc,
5860 SourceLocation ExternLoc,
5870 SourceLocation ExternLoc,
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2037 ExplicitInfo->ExternLoc = ReadSourceLocation(Record, Idx); in VisitClassTemplateSpecializationDeclImpl()
2116 ExplicitInfo->ExternLoc = ReadSourceLocation(Record, Idx); in VisitVarTemplateSpecializationDeclImpl()
/external/llvm-project/clang/include/clang/Sema/
DSema.h6758 SourceLocation ExternLoc,
7516 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc,
7522 DeclResult ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc,
7530 SourceLocation ExternLoc,
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2216 ExplicitInfo->ExternLoc = readSourceLocation(); in VisitClassTemplateSpecializationDeclImpl()
2295 ExplicitInfo->ExternLoc = readSourceLocation(); in VisitVarTemplateSpecializationDeclImpl()

12