Home
last modified time | relevance | path

Searched refs:LinkageSpecLanguageIDs (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1371 LinkageSpecLanguageIDs ID) { in isLinkageSpecContext()
1381 return isLinkageSpecContext(this, LinkageSpecLanguageIDs::C); in isExternCContext()
1388 cast<LinkageSpecDecl>(DC)->getLanguage() == LinkageSpecLanguageIDs::C) in getExternCContext()
1396 return isLinkageSpecContext(this, LinkageSpecLanguageIDs::CXX); in isExternCXXContext()
H A DDeclCXX.cpp2949 LinkageSpecLanguageIDs lang, bool HasBraces) in LinkageSpecDecl()
2961 LinkageSpecLanguageIDs Lang, in Create()
2970 LinkageSpecLanguageIDs::C, false); in CreateDeserialized()
H A DDeclPrinter.cpp1140 if (D->getLanguage() == LinkageSpecLanguageIDs::C) in VisitLinkageSpecDecl()
1143 assert(D->getLanguage() == LinkageSpecLanguageIDs::CXX && in VisitLinkageSpecDecl()
H A DJSONNodeDumper.cpp1072 case LinkageSpecLanguageIDs::C: in VisitLinkageSpecDecl()
1075 case LinkageSpecLanguageIDs::CXX: in VisitLinkageSpecDecl()
H A DTextNodeDumper.cpp2680 case LinkageSpecLanguageIDs::C: in VisitLinkageSpecDecl()
2683 case LinkageSpecLanguageIDs::CXX: in VisitLinkageSpecDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2933 enum class LinkageSpecLanguageIDs { C = 1, CXX = 2 }; enum
2953 SourceLocation LangLoc, LinkageSpecLanguageIDs lang,
2960 LinkageSpecLanguageIDs Lang, bool HasBraces);
2964 LinkageSpecLanguageIDs getLanguage() const { in getLanguage()
2965 return static_cast<LinkageSpecLanguageIDs>(LinkageSpecDeclBits.Language); in getLanguage()
2969 void setLanguage(LinkageSpecLanguageIDs L) { in setLanguage()
H A DDeclBase.h1416 enum class LinkageSpecLanguageIDs;
1953 LLVM_PREFERRED_TYPE(LinkageSpecLanguageIDs)
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp32 case LinkageSpecLanguageIDs::C: in checkModuleImportContext()
36 case LinkageSpecLanguageIDs::CXX: in checkModuleImportContext()
H A DSemaDeclCXX.cpp16677 LinkageSpecLanguageIDs Language; in ActOnStartLinkageSpecification()
16679 Language = LinkageSpecLanguageIDs::C; in ActOnStartLinkageSpecification()
16681 Language = LinkageSpecLanguageIDs::CXX; in ActOnStartLinkageSpecification()
H A DSemaDecl.cpp2291 Context, Parent, Loc, Loc, LinkageSpecLanguageIDs::C, false); in CreateBuiltin()
16613 LinkageSpecLanguageIDs::C)) { in AddKnownFunctionAttributes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp6809 if (LSD->getLanguage() != LinkageSpecLanguageIDs::C && in EmitLinkageSpec()
6810 LSD->getLanguage() != LinkageSpecLanguageIDs::CXX) { in EmitLinkageSpec()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1811 D->setLanguage(static_cast<LinkageSpecLanguageIDs>(Record.readInt())); in VisitLinkageSpecDecl()