/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2523 class LinkageSpecDecl : public Decl, public DeclContext { 2550 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() function 2557 static LinkageSpecDecl *Create(ASTContext &C, DeclContext *DC, 2561 static LinkageSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2597 static DeclContext *castToDeclContext(const LinkageSpecDecl *D) { in castToDeclContext() 2598 return static_cast<DeclContext *>(const_cast<LinkageSpecDecl*>(D)); in castToDeclContext() 2600 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 2601 return static_cast<LinkageSpecDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
|
D | DeclBase.h | 39 class LinkageSpecDecl; variable
|
D | RecursiveASTVisitor.h | 1384 DEF_TRAVERSE_DECL(LinkageSpecDecl, {})
|
/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 77 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 345 else if (isa<NamespaceDecl>(*D) || isa<LinkageSpecDecl>(*D) || in VisitDeclContext() 877 void DeclPrinter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 879 if (D->getLanguage() == LinkageSpecDecl::lang_c) in VisitLinkageSpecDecl() 882 assert(D->getLanguage() == LinkageSpecDecl::lang_cxx && in VisitLinkageSpecDecl()
|
D | DeclCXX.cpp | 2012 void LinkageSpecDecl::anchor() { } in anchor() 2014 LinkageSpecDecl *LinkageSpecDecl::Create(ASTContext &C, in Create() 2020 return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces); in Create() 2023 LinkageSpecDecl *LinkageSpecDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 2025 return new (C, ID) LinkageSpecDecl(nullptr, SourceLocation(), in CreateDeserialized()
|
D | DeclBase.cpp | 964 LinkageSpecDecl::LanguageIDs ID) { in isLinkageSpecContext() 967 return cast<LinkageSpecDecl>(DC)->getLanguage() == ID; in isLinkageSpecContext() 974 return isLinkageSpecContext(this, clang::LinkageSpecDecl::lang_c); in isExternCContext() 978 return isLinkageSpecContext(this, clang::LinkageSpecDecl::lang_cxx); in isExternCXXContext()
|
D | ASTDumper.cpp | 478 void VisitLinkageSpecDecl(const LinkageSpecDecl *D); 1526 void ASTDumper::VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 1528 case LinkageSpecDecl::lang_c: OS << " C"; break; in VisitLinkageSpecDecl() 1529 case LinkageSpecDecl::lang_cxx: OS << " C++"; break; in VisitLinkageSpecDecl()
|
D | Decl.cpp | 572 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage() 2698 dyn_cast<LinkageSpecDecl>(getFirstDecl()->getDeclContext()); in getBuiltinID() 2709 if (LinkageDecl->getLanguage() != LinkageSpecDecl::lang_c) in getBuiltinID()
|
D | ASTImporter.cpp | 163 Decl *VisitLinkageSpecDecl(LinkageSpecDecl *D); 3861 Decl *ASTNodeImporter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 3870 LinkageSpecDecl *ToLinkageSpec = in VisitLinkageSpecDecl() 3871 LinkageSpecDecl::Create(Importer.getToContext(), in VisitLinkageSpecDecl()
|
D | ItaniumMangle.cpp | 747 while (isa<LinkageSpecDecl>(DC)) { in IgnoreLinkageSpecDecls()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 234 bool VisitLinkageSpecDecl(LinkageSpecDecl *D);
|
D | CIndex.cpp | 1456 bool CursorVisitor::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 204 if (isa<LinkageSpecDecl>(Parent) || isa<BlockDecl>(Parent)) in adjustParent()
|
D | USRGeneration.cpp | 94 void VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.h | 1179 void EmitLinkageSpec(const LinkageSpecDecl *D);
|
D | CodeGenModule.cpp | 3725 void CodeGenModule::EmitLinkageSpec(const LinkageSpecDecl *LSD) { in EmitLinkageSpec() 3726 if (LSD->getLanguage() != LinkageSpecDecl::lang_c && in EmitLinkageSpec() 3727 LSD->getLanguage() != LinkageSpecDecl::lang_cxx) { in EmitLinkageSpec() 3896 EmitLinkageSpec(cast<LinkageSpecDecl>(D)); in EmitTopLevelDecl()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 1809 LinkageSpecDecl *CLinkageDecl = in LazilyCreateBuiltin() 1810 LinkageSpecDecl::Create(Context, Parent, Loc, Loc, in LazilyCreateBuiltin() 1811 LinkageSpecDecl::lang_c, false); in LazilyCreateBuiltin() 4838 while (isa<LinkageSpecDecl>(Cur) || isa<CapturedDecl>(Cur)) in diagnoseQualifiedDeclaration() 5833 while (!DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) in adjustContextForLocalExternDecl() 11905 (isa<LinkageSpecDecl>(FD->getDeclContext()) && in AddKnownFunctionAttributes() 11906 cast<LinkageSpecDecl>(FD->getDeclContext())->getLanguage() == in AddKnownFunctionAttributes() 11907 LinkageSpecDecl::lang_c)) { in AddKnownFunctionAttributes() 15028 if (auto *LSD = dyn_cast<LinkageSpecDecl>(DC)) { in checkModuleImportContext() 15030 case LinkageSpecDecl::lang_c: in checkModuleImportContext() [all …]
|
D | SemaDeclCXX.cpp | 12134 LinkageSpecDecl::LanguageIDs Language; in ActOnStartLinkageSpecification() 12136 Language = LinkageSpecDecl::lang_c; in ActOnStartLinkageSpecification() 12138 Language = LinkageSpecDecl::lang_cxx; in ActOnStartLinkageSpecification() 12147 LinkageSpecDecl *D = LinkageSpecDecl::Create(Context, CurContext, ExternLoc, in ActOnStartLinkageSpecification() 12163 LinkageSpecDecl* LSDecl = cast<LinkageSpecDecl>(LinkageSpec); in ActOnFinishLinkageSpecification()
|
D | SemaLookup.cpp | 1546 DC && !DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) { in isVisibleSlow()
|
D | SemaTemplate.cpp | 5820 while (Ctx && isa<LinkageSpecDecl>(Ctx)) in CheckTemplateDeclScope()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 328 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 1348 void ASTDeclReader::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 1350 D->setLanguage((LinkageSpecDecl::LanguageIDs)Record[Idx++]); in VisitLinkageSpecDecl() 3247 D = LinkageSpecDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 111 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 1059 void ASTDeclWriter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 739 } else if (LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(D)) { in HandleTopLevelSingleDecl() 3045 if (const LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(DC)) in getFunctionSourceLocation() 3073 if (const LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(DC)) in RewriteLineDirective()
|
D | RewriteObjC.cpp | 674 } else if (LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(D)) { in HandleTopLevelSingleDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 293 const internal::VariadicDynCastAllOfMatcher<Decl, LinkageSpecDecl>
|