/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2348 class LinkageSpecDecl : public Decl, public DeclContext { 2368 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, 2375 static LinkageSpecDecl *Create(ASTContext &C, DeclContext *DC, 2379 static LinkageSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2409 static DeclContext *castToDeclContext(const LinkageSpecDecl *D) { 2410 return static_cast<DeclContext *>(const_cast<LinkageSpecDecl*>(D)); 2412 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { 2413 return static_cast<LinkageSpecDecl *>(const_cast<DeclContext*>(DC));
|
D | DeclBase.h | 34 class LinkageSpecDecl; variable
|
D | RecursiveASTVisitor.h | 1301 DEF_TRAVERSE_DECL(LinkageSpecDecl, { })
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1780 void LinkageSpecDecl::anchor() { } in anchor() 1782 LinkageSpecDecl *LinkageSpecDecl::Create(ASTContext &C, in Create() 1788 return new (C) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, RBraceLoc); in Create() 1791 LinkageSpecDecl *LinkageSpecDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 1792 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(LinkageSpecDecl)); in CreateDeserialized() 1793 return new (Mem) LinkageSpecDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized()
|
D | DeclPrinter.cpp | 68 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 299 else if (isa<NamespaceDecl>(*D) || isa<LinkageSpecDecl>(*D) || in VisitDeclContext() 768 void DeclPrinter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 770 if (D->getLanguage() == LinkageSpecDecl::lang_c) in VisitLinkageSpecDecl() 773 assert(D->getLanguage() == LinkageSpecDecl::lang_cxx && in VisitLinkageSpecDecl()
|
D | DumpXML.cpp | 423 void visitLinkageSpecDeclAttrs(LinkageSpecDecl *D) { in visitLinkageSpecDeclAttrs() 426 case LinkageSpecDecl::lang_c: lang = "C"; break; in visitLinkageSpecDeclAttrs() 427 case LinkageSpecDecl::lang_cxx: lang = "C++"; break; in visitLinkageSpecDeclAttrs() 431 void visitLinkageSpecDeclAsContext(LinkageSpecDecl *D) { in visitLinkageSpecDeclAsContext()
|
D | DeclBase.cpp | 806 return cast<LinkageSpecDecl>(DC)->getLanguage() in isExternCContext() 807 == LinkageSpecDecl::lang_c; in isExternCContext() 817 return cast<LinkageSpecDecl>(DC)->getLanguage() in isExternCXXContext() 818 == LinkageSpecDecl::lang_cxx; in isExternCXXContext()
|
D | MicrosoftMangle.cpp | 167 if (const LinkageSpecDecl *Linkage = dyn_cast<LinkageSpecDecl>(DC)) in isInCLinkageSpecification() 168 return Linkage->getLanguage() == LinkageSpecDecl::lang_c; in isInCLinkageSpecification() 555 while (isa<LinkageSpecDecl>(DC)) in manglePostfix()
|
D | ASTDumper.cpp | 224 void VisitLinkageSpecDecl(const LinkageSpecDecl *D); 1068 void ASTDumper::VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 1070 case LinkageSpecDecl::lang_c: OS << " C"; break; in VisitLinkageSpecDecl() 1071 case LinkageSpecDecl::lang_cxx: OS << " C++"; break; in VisitLinkageSpecDecl()
|
D | Decl.cpp | 2160 if (isa<LinkageSpecDecl>(getDeclContext()) && in getBuiltinID() 2161 cast<LinkageSpecDecl>(getDeclContext())->getLanguage() in getBuiltinID() 2162 == LinkageSpecDecl::lang_c && in getBuiltinID()
|
D | ItaniumMangle.cpp | 485 while (isa<LinkageSpecDecl>(DC)) { in IgnoreLinkageSpecDecls()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 231 bool VisitLinkageSpecDecl(LinkageSpecDecl *D);
|
D | CIndexUSRs.cpp | 87 void VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
D | RecursiveASTVisitor.h | 1237 DEF_TRAVERSE_DECL(LinkageSpecDecl, { })
|
D | CIndex.cpp | 1381 bool CursorVisitor::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 260 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 991 void ASTDeclReader::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 993 D->setLanguage((LinkageSpecDecl::LanguageIDs)Record[Idx++]); in VisitLinkageSpecDecl() 1988 D = LinkageSpecDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 97 void VisitLinkageSpecDecl(LinkageSpecDecl *D); 820 void ASTDeclWriter::VisitLinkageSpecDecl(LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 2695 void CodeGenModule::EmitLinkageSpec(const LinkageSpecDecl *LSD) { in EmitLinkageSpec() 2696 if (LSD->getLanguage() != LinkageSpecDecl::lang_c && in EmitLinkageSpec() 2697 LSD->getLanguage() != LinkageSpecDecl::lang_cxx) { in EmitLinkageSpec() 2826 EmitLinkageSpec(cast<LinkageSpecDecl>(D)); in EmitTopLevelDecl()
|
D | CodeGenModule.h | 972 void EmitLinkageSpec(const LinkageSpecDecl *D);
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 364 void RewriteLinkageSpec(LinkageSpecDecl *LSD); 736 } else if (LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(D)) { in HandleTopLevelSingleDecl() 1214 RewriteModernObjC::RewriteLinkageSpec(LinkageSpecDecl *LSD) { in RewriteLinkageSpec() 3133 if (const LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(DC)) in getFunctionSourceLocation() 3161 if (const LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(DC)) in RewriteLineDirective()
|
D | RewriteObjC.cpp | 676 } else if (LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(D)) { in HandleTopLevelSingleDecl()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 4903 if (Ctx && isa<LinkageSpecDecl>(Ctx) && in CheckTemplateDeclScope() 4904 cast<LinkageSpecDecl>(Ctx)->getLanguage() != LinkageSpecDecl::lang_cxx) in CheckTemplateDeclScope() 4908 while (Ctx && isa<LinkageSpecDecl>(Ctx)) in CheckTemplateDeclScope()
|
D | SemaDeclCXX.cpp | 10166 LinkageSpecDecl::LanguageIDs Language; in ActOnStartLinkageSpecification() 10168 Language = LinkageSpecDecl::lang_c; in ActOnStartLinkageSpecification() 10170 Language = LinkageSpecDecl::lang_cxx; in ActOnStartLinkageSpecification() 10178 LinkageSpecDecl *D = LinkageSpecDecl::Create(Context, CurContext, in ActOnStartLinkageSpecification() 10194 LinkageSpecDecl* LSDecl = cast<LinkageSpecDecl>(LinkageSpec); in ActOnFinishLinkageSpecification()
|
D | SemaDecl.cpp | 3926 while (isa<LinkageSpecDecl>(Cur)) in diagnoseQualifiedDeclaration() 9037 (isa<LinkageSpecDecl>(FD->getDeclContext()) && in AddKnownFunctionAttributes() 9038 cast<LinkageSpecDecl>(FD->getDeclContext())->getLanguage() == in AddKnownFunctionAttributes() 9039 LinkageSpecDecl::lang_c)) { in AddKnownFunctionAttributes()
|