/external/lldb/source/Expression/ |
D | ASTStructExtractor.cpp | 124 LinkageSpecDecl *linkage_spec_decl = dyn_cast<LinkageSpecDecl>(D); in ExtractFromTopLevelDecl()
|
D | ASTResultSynthesizer.cpp | 79 if (LinkageSpecDecl *linkage_spec_decl = dyn_cast<LinkageSpecDecl>(D)) in TransformTopLevelDecl()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2444 class LinkageSpecDecl : public Decl, public DeclContext { 2471 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() function 2478 static LinkageSpecDecl *Create(ASTContext &C, DeclContext *DC, 2482 static LinkageSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2518 static DeclContext *castToDeclContext(const LinkageSpecDecl *D) { in castToDeclContext() 2519 return static_cast<DeclContext *>(const_cast<LinkageSpecDecl*>(D)); in castToDeclContext() 2521 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 2522 return static_cast<LinkageSpecDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
|
D | DeclBase.h | 38 class LinkageSpecDecl; variable
|
D | DataRecursiveASTVisitor.h | 1261 DEF_TRAVERSE_DECL(LinkageSpecDecl, {})
|
D | RecursiveASTVisitor.h | 1333 DEF_TRAVERSE_DECL(LinkageSpecDecl, {})
|
/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 68 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 293 else if (isa<NamespaceDecl>(*D) || isa<LinkageSpecDecl>(*D) || in VisitDeclContext() 793 void DeclPrinter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 795 if (D->getLanguage() == LinkageSpecDecl::lang_c) in VisitLinkageSpecDecl() 798 assert(D->getLanguage() == LinkageSpecDecl::lang_cxx && in VisitLinkageSpecDecl()
|
D | DeclCXX.cpp | 1889 void LinkageSpecDecl::anchor() { } in anchor() 1891 LinkageSpecDecl *LinkageSpecDecl::Create(ASTContext &C, in Create() 1897 return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces); in Create() 1900 LinkageSpecDecl *LinkageSpecDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 1902 return new (C, ID) LinkageSpecDecl(nullptr, SourceLocation(), in CreateDeserialized()
|
D | DeclBase.cpp | 856 LinkageSpecDecl::LanguageIDs ID) { in isLinkageSpecContext() 859 return cast<LinkageSpecDecl>(DC)->getLanguage() == ID; in isLinkageSpecContext() 866 return isLinkageSpecContext(this, clang::LinkageSpecDecl::lang_c); in isExternCContext() 870 return isLinkageSpecContext(this, clang::LinkageSpecDecl::lang_cxx); in isExternCXXContext()
|
D | ASTDumper.cpp | 284 void VisitLinkageSpecDecl(const LinkageSpecDecl *D); 1258 void ASTDumper::VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 1260 case LinkageSpecDecl::lang_c: OS << " C"; break; in VisitLinkageSpecDecl() 1261 case LinkageSpecDecl::lang_cxx: OS << " C++"; break; in VisitLinkageSpecDecl()
|
D | Decl.cpp | 560 if (const LinkageSpecDecl *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage() 2554 const LinkageSpecDecl *LinkageDecl = dyn_cast<LinkageSpecDecl>( in getBuiltinID() 2560 if (!LinkageDecl || LinkageDecl->getLanguage() != LinkageSpecDecl::lang_c) in getBuiltinID()
|
D | ItaniumMangle.cpp | 512 while (isa<LinkageSpecDecl>(DC)) { in IgnoreLinkageSpecDecls()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 231 bool VisitLinkageSpecDecl(LinkageSpecDecl *D);
|
D | CIndex.cpp | 1397 bool CursorVisitor::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 93 void VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 379 void RewriteLinkageSpec(LinkageSpecDecl *LSD); 757 } else if (LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(D)) { in HandleTopLevelSingleDecl() 1228 RewriteModernObjC::RewriteLinkageSpec(LinkageSpecDecl *LSD) { in RewriteLinkageSpec() 3102 if (const LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(DC)) in getFunctionSourceLocation() 3130 if (const LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(DC)) in RewriteLineDirective()
|
D | RewriteObjC.cpp | 683 } else if (LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(D)) { in HandleTopLevelSingleDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3051 void CodeGenModule::EmitLinkageSpec(const LinkageSpecDecl *LSD) { in EmitLinkageSpec() 3052 if (LSD->getLanguage() != LinkageSpecDecl::lang_c && in EmitLinkageSpec() 3053 LSD->getLanguage() != LinkageSpecDecl::lang_cxx) { in EmitLinkageSpec() 3188 EmitLinkageSpec(cast<LinkageSpecDecl>(D)); in EmitTopLevelDecl()
|
D | CodeGenModule.h | 1073 void EmitLinkageSpec(const LinkageSpecDecl *D);
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 1655 LinkageSpecDecl *CLinkageDecl = in LazilyCreateBuiltin() 1656 LinkageSpecDecl::Create(Context, Parent, Loc, Loc, in LazilyCreateBuiltin() 1657 LinkageSpecDecl::lang_c, false); in LazilyCreateBuiltin() 4287 while (isa<LinkageSpecDecl>(Cur) || isa<CapturedDecl>(Cur)) in diagnoseQualifiedDeclaration() 5194 while (!DC->isFileContext() && !isa<LinkageSpecDecl>(DC)) in adjustContextForLocalExternDecl() 10433 (isa<LinkageSpecDecl>(FD->getDeclContext()) && in AddKnownFunctionAttributes() 10434 cast<LinkageSpecDecl>(FD->getDeclContext())->getLanguage() == in AddKnownFunctionAttributes() 10435 LinkageSpecDecl::lang_c)) { in AddKnownFunctionAttributes() 13333 if (auto *LSD = dyn_cast<LinkageSpecDecl>(DC)) { in checkModuleImportContext() 13335 case LinkageSpecDecl::lang_c: in checkModuleImportContext() [all …]
|
D | SemaDeclCXX.cpp | 11254 LinkageSpecDecl::LanguageIDs Language; in ActOnStartLinkageSpecification() 11256 Language = LinkageSpecDecl::lang_c; in ActOnStartLinkageSpecification() 11258 Language = LinkageSpecDecl::lang_cxx; in ActOnStartLinkageSpecification() 11267 LinkageSpecDecl *D = LinkageSpecDecl::Create(Context, CurContext, ExternLoc, in ActOnStartLinkageSpecification() 11283 LinkageSpecDecl* LSDecl = cast<LinkageSpecDecl>(LinkageSpec); in ActOnFinishLinkageSpecification()
|
D | SemaTemplate.cpp | 5575 while (Ctx && isa<LinkageSpecDecl>(Ctx)) in CheckTemplateDeclScope()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 290 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 1117 void ASTDeclReader::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 1119 D->setLanguage((LinkageSpecDecl::LanguageIDs)Record[Idx++]); in VisitLinkageSpecDecl() 2637 D = LinkageSpecDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 102 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 874 void ASTDeclWriter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|