/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ASTStructExtractor.cpp | 112 LinkageSpecDecl *linkage_spec_decl = dyn_cast<LinkageSpecDecl>(D); in ExtractFromTopLevelDecl()
|
D | NameSearchContext.cpp | 66 context = LinkageSpecDecl::Create( in AddFunDecl() 68 clang::LinkageSpecDecl::LanguageIDs::lang_c, false); in AddFunDecl()
|
D | ASTResultSynthesizer.cpp | 75 if (LinkageSpecDecl *linkage_spec_decl = dyn_cast<LinkageSpecDecl>(D)) { in TransformTopLevelDecl()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaModule.cpp | 27 if (auto *LSD = dyn_cast<LinkageSpecDecl>(DC)) { in checkModuleImportContext() 29 case LinkageSpecDecl::lang_c: in checkModuleImportContext() 33 case LinkageSpecDecl::lang_cxx: in checkModuleImportContext() 39 while (isa<LinkageSpecDecl>(DC) || isa<ExportDecl>(DC)) in checkModuleImportContext()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 1183 LinkageSpecDecl::LanguageIDs ID) { in isLinkageSpecContext() 1186 return cast<LinkageSpecDecl>(DC)->getLanguage() == ID; in isLinkageSpecContext() 1193 return isLinkageSpecContext(this, LinkageSpecDecl::lang_c); in isExternCContext() 1196 const LinkageSpecDecl *DeclContext::getExternCContext() const { in getExternCContext() 1200 cast<LinkageSpecDecl>(DC)->getLanguage() == LinkageSpecDecl::lang_c) in getExternCContext() 1201 return cast<LinkageSpecDecl>(DC); in getExternCContext() 1208 return isLinkageSpecContext(this, LinkageSpecDecl::lang_cxx); in isExternCXXContext()
|
D | DeclCXX.cpp | 2790 LinkageSpecDecl::LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() function in LinkageSpecDecl 2799 void LinkageSpecDecl::anchor() {} in anchor() 2801 LinkageSpecDecl *LinkageSpecDecl::Create(ASTContext &C, in Create() 2807 return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces); in Create() 2810 LinkageSpecDecl *LinkageSpecDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 2812 return new (C, ID) LinkageSpecDecl(nullptr, SourceLocation(), in CreateDeserialized()
|
D | DeclPrinter.cpp | 81 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 457 } else if (isa<NamespaceDecl>(*D) || isa<LinkageSpecDecl>(*D) || in VisitDeclContext() 1023 void DeclPrinter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 1025 if (D->getLanguage() == LinkageSpecDecl::lang_c) in VisitLinkageSpecDecl() 1028 assert(D->getLanguage() == LinkageSpecDecl::lang_cxx && in VisitLinkageSpecDecl()
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | Modularize.cpp | 577 bool VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 584 case LinkageSpecDecl::lang_c: in VisitLinkageSpecDecl() 587 case LinkageSpecDecl::lang_cxx: in VisitLinkageSpecDecl() 766 bool VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/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()
|
/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()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclCXX.h | 2773 class LinkageSpecDecl : public Decl, public DeclContext { 2791 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, 2795 static LinkageSpecDecl *Create(ASTContext &C, DeclContext *DC, 2799 static LinkageSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2839 static DeclContext *castToDeclContext(const LinkageSpecDecl *D) { in castToDeclContext() 2840 return static_cast<DeclContext *>(const_cast<LinkageSpecDecl*>(D)); in castToDeclContext() 2843 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 2844 return static_cast<LinkageSpecDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
|
D | DeclBase.h | 52 class LinkageSpecDecl; variable 1689 friend class LinkageSpecDecl; variable 1931 const LinkageSpecDecl *getExternCContext() const;
|
D | TextNodeDumper.h | 357 void VisitLinkageSpecDecl(const LinkageSpecDecl *D);
|
D | JSONNodeDumper.h | 248 void VisitLinkageSpecDecl(const LinkageSpecDecl *LSD);
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
D | FindAllSymbols.cpp | 51 llvm::isa<LinkageSpecDecl>(Context)) in GetContexts()
|
/external/llvm-project/clang/tools/libclang/ |
D | CursorVisitor.h | 235 bool VisitLinkageSpecDecl(LinkageSpecDecl *D);
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 234 bool VisitLinkageSpecDecl(LinkageSpecDecl *D);
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 204 if (isa<LinkageSpecDecl>(Parent) || isa<BlockDecl>(Parent)) in adjustParent()
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | SourceCode.cpp | 255 if (llvm::isa<FunctionDecl>(D) || llvm::isa<LinkageSpecDecl>(D)) in getTerminators()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | FindSymbols.cpp | 288 if (llvm::isa<LinkageSpecDecl>(D) || llvm::isa<ExportDecl>(D)) in shouldVisit()
|
/external/llvm-project/clang/lib/Index/ |
D | USRGeneration.cpp | 107 void VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 202 else if (isa<LinkageSpecDecl>(DC)) // Linkage specs are transparent in USRs. in VisitDeclContext()
|
D | IndexingContext.cpp | 285 if (isa<LinkageSpecDecl>(Parent) || isa<BlockDecl>(Parent)) in adjustParent()
|