/external/clang/lib/AST/ |
ASTImporter.cpp | 81 bool ImportDeclParts(NamedDecl *D, DeclContext *&DC, 82 DeclContext *&LexicalDC, DeclarationName &Name, 87 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false); 98 /// DeclContext. [all...] |
ItaniumMangle.cpp | 46 static const DeclContext *getEffectiveDeclContext(const Decl *D) { 63 static const DeclContext *getEffectiveParentContext(const DeclContext *DC) { 68 const DeclContext *DC = dyn_cast<DeclContext>(ND); 72 const DeclContext *Parent = getEffectiveDeclContext(cast<Decl>(DC)); 308 void mangleNestedName(const NamedDecl *ND, const DeclContext *DC, 314 void manglePrefix(const DeclContext *DC, bool NoFunction=false); 401 const DeclContext *DC = getEffectiveDeclContext(D); 484 static const DeclContext *IgnoreLinkageSpecDecls(const DeclContext *DC) [all...] |
DeclPrinter.cpp | 46 void VisitDeclContext(DeclContext *DC, bool Indent = true); 169 void DeclContext::dumpDeclContext() const { 171 const DeclContext *DC = this; 177 Printer.VisitDeclContext(const_cast<DeclContext *>(this), /*Indent=*/false); 220 void DeclPrinter::VisitDeclContext(DeclContext *DC, bool Indent) { 228 for (DeclContext::decl_iterator D = DC->decls_begin(), DEnd = DC->decls_end(); 307 DeclContext::decl_iterator Next = D; [all...] |
ASTDumper.cpp | 174 bool hasNodes(const DeclContext *DC); 175 void dumpDeclContext(const DeclContext *DC); 478 bool ASTDumper::hasNodes(const DeclContext *DC) { 485 void ASTDumper::dumpDeclContext(const DeclContext *DC) { 488 for (DeclContext::decl_iterator I = DC->decls_begin(), E = DC->decls_end(); 490 DeclContext::decl_iterator Next = I; 673 hasNodes(dyn_cast<DeclContext>(D)); 692 dumpDeclContext(cast<DeclContext>(D)); [all...] |
MicrosoftMangle.cpp | 90 void manglePostfix(const DeclContext *DC, bool NoFunction=false); 165 for (const DeclContext *DC = D->getDeclContext(); 198 const DeclContext *DC = D->getDeclContext(); 314 const DeclContext *DC = ND->getDeclContext(); 319 // If this is an extern variable declared locally, the relevant DeclContext 548 void MicrosoftCXXNameMangler::manglePostfix(const DeclContext *DC, 753 const DeclContext *DC = FD->getParent(); [all...] |
/external/clang/tools/libclang/ |
IndexingContext.cpp | 311 const DeclContext *LexicalDC) { 589 const DeclContext *LexicalDC) { 646 const DeclContext *DC, 660 const DeclContext *DC, 712 void IndexingContext::addContainerInMap(const DeclContext *DC, 723 // Allow changing the container of a previously seen DeclContext so we 826 const DeclContext * 828 const DeclContext *DC = dyn_cast<DeclContext>(D); 843 IndexingContext::getClientContainerForDC(const DeclContext *DC) const [all...] |
CIndexUSRs.cpp | 69 void VisitDeclContext(const DeclContext *D); 157 void USRGenerator::VisitDeclContext(const DeclContext *DC) { 237 // but their enclosing DeclContext is the function, not the TU. We need 295 const DeclContext *container = D->getDeclContext(); 462 const DeclContext *DC = D->getDeclContext();
|
/external/clang/lib/Sema/ |
SemaAccess.cpp | 66 DeclContext *DC = D->getDeclContext(); 83 explicit EffectiveContext(DeclContext *DC) 135 DeclContext *getInnerContext() const { 141 DeclContext *Inner; 211 DeclContext *IC = S.computeDeclContext(getBaseObjectType()); 259 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); 260 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); 326 static bool MightInstantiateTo(Sema &S, DeclContext *Context, 327 DeclContext *Friend) { [all...] |
SemaCodeComplete.cpp | 282 bool CheckHiddenResult(Result &R, DeclContext *CurContext, 292 void MaybeAddResult(Result R, DeclContext *CurContext = 0); 305 void AddResult(Result R, DeclContext *CurContext, NamedDecl *Hiding, 451 const DeclContext *CurContext, 452 const DeclContext *TargetContext) { 453 SmallVector<const DeclContext *, 4> TargetParents; 455 for (const DeclContext *CommonAncestor = TargetContext; 467 const DeclContext *Parent = TargetParents.back(); 555 bool ResultBuilder::CheckHiddenResult(Result &R, DeclContext *CurContext, 563 const DeclContext *HiddenCtx [all...] |
SemaDecl.cpp | 140 DeclContext *LookupCtx = 0; 434 else if (DeclContext *DC = computeDeclContext(*SS, false)) 478 else if (DeclContext *DC = computeDeclContext(*SS, false)) [all...] |
SemaObjCProperty.cpp | 126 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName()); 150 DeclContext *lexicalDC) { 208 DeclContext::lookup_result R = Super->lookup(Res->getDeclName()); 339 DeclContext *DC = CurContext; 359 // Create a new ObjCPropertyDecl with the DeclContext being 445 DeclContext *DC = cast<DeclContext>(CCPrimary); 515 DeclContext *lexicalDC){ 535 DeclContext *DC = cast<DeclContext>(CDecl) [all...] |
SemaTemplateInstantiateDecl.cpp | 287 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); 794 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); 806 DeclContext *DC = Owner; 853 DeclContext *DCParent = DC->getParent(); 857 DeclContext *DCParent2 = DCParent->getParent() [all...] |
/external/clang/include/clang/Sema/ |
CodeCompleteConsumer.h | 534 llvm::DenseMap<const DeclContext *, StringRef> ParentNames; 550 StringRef getParentName(const DeclContext *DC); 633 void addParentContext(const DeclContext *DC); [all...] |
Template.h | 371 DeclContext *Owner; 384 TemplateDeclInstantiator(Sema &SemaRef, DeclContext *Owner,
|
Sema.h | 91 class DeclContext; 227 DeclContext *CurContext; 231 DeclContext *OriginalLexicalContext; 451 DeclContext *SavedContext; 456 ContextRAII(Sema &S, DeclContext *ContextToPush) 485 SynthesizedFunctionScope(Sema &S, DeclContext *DC) 902 Scope *getScopeForContext(DeclContext *Ctx); [all...] |
/external/clang/include/clang/AST/ |
CXXInheritance.h | 80 DeclContext::lookup_result Decls;
|
/frameworks/compile/slang/ |
slang_rs_check_ast.cpp | 153 for (clang::DeclContext::decl_iterator DI = TUDecl->decls_begin(),
|
slang_rs_object_ref_count.cpp | 52 for (clang::DeclContext::decl_iterator I = TUDecl->decls_begin(), 444 clang::DeclContext *DC, 451 clang::DeclContext *DC, 669 clang::DeclContext *DC, 848 clang::DeclContext *DC = NULL; [all...] |
/external/clang/lib/Frontend/ |
ChainedIncludesSource.cpp | 195 ChainedIncludesSource::FindExternalVisibleDeclsByName(const DeclContext *DC, 200 ChainedIncludesSource::FindExternalLexicalDecls(const DeclContext *DC,
|
MultiplexConsumer.cpp | 93 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D); 121 const DeclContext *DC, const Decl *D) {
|
/external/clang/include/clang/Analysis/ |
CallGraph.h | 93 void addNodesForBlocks(DeclContext *D);
|
/external/clang/include/clang/Serialization/ |
ASTReader.h | 65 class DeclContext; 200 /// \brief The on-disk hash table used for the DeclContext's Name lookup table. 831 /// \brief The Decl IDs for the Sema/Lexical DeclContext of a Decl that has 832 /// been loaded but its DeclContext was not set yet. [all...] |
/external/v8/tools/gcmole/ |
gcmole.cc | 92 Resolver(clang::ASTContext& ctx, clang::DeclContext* decl_ctx) 109 clang::DeclContext::lookup_result result = 112 clang::DeclContext::lookup_iterator end = result.second; 113 for (clang::DeclContext::lookup_iterator i = result.first; 124 clang::DeclContext* decl_ctx_; [all...] |
/external/clang/lib/Serialization/ |
ASTReaderDecl.cpp | 151 /// chain hanging off an identifier or the DeclContext we searched in) 270 std::pair<uint64_t, uint64_t> VisitDeclContext(DeclContext *DC); 335 // We don't want to deserialize the DeclContext of a template 337 // used in the formulation of its DeclContext. Use the translation 338 // unit DeclContext as a placeholder. 346 DeclContext *SemaDC = ReadDeclAs<DeclContext>(Record, Idx); 347 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); [all...] |
ASTReader.cpp | [all...] |