/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 304 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local 305 if (SemaDC != LexicalDC) in PrintDeclContext() 333 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local 334 if (SemaDC != LexicalDC) in PrintDeclContext() 349 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local 350 if (SemaDC != LexicalDC) in PrintDeclContext() 365 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local 366 if (SemaDC != LexicalDC) in PrintDeclContext()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 84 DeclContext *&LexicalDC, DeclarationName &Name, 1999 DeclContext *&LexicalDC, in ImportDeclParts() argument 2008 LexicalDC = DC; in ImportDeclParts() 2010 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in ImportDeclParts() 2011 if (!LexicalDC) in ImportDeclParts() 2459 DeclContext *DC, *LexicalDC; in VisitNamespaceDecl() local 2463 if (ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc)) in VisitNamespaceDecl() 2509 ToNamespace->setLexicalDeclContext(LexicalDC); in VisitNamespaceDecl() 2510 LexicalDC->addDeclInternal(ToNamespace); in VisitNamespaceDecl() 2530 DeclContext *DC, *LexicalDC; in VisitTypedefNameDecl() local [all …]
|
D | DeclBase.cpp | 264 getMultipleDC()->LexicalDC = DC; in setLexicalDeclContext() 269 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument 271 if (SemaDC == LexicalDC) { in setDeclContextsImpl() 276 MDC->LexicalDC = LexicalDC; in setDeclContextsImpl()
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 28 const DeclContext *LexicalDC; member in __anonc6397ef70111::IndexingDeclVisitor 33 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor() 95 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl() 96 DataConsumer.handleSynthesizedObjCMethod(D, DeclLoc, LexicalDC); in VisitObjCMethodDecl() 208 const DeclContext *LexicalDC = ASTNode.ContainerDC; in handleDeclOccurence() local 209 if (!LexicalDC) { in handleDeclOccurence() 212 LexicalDC = dyn_cast<DeclContext>(SymRel.RelatedSymbol); in handleDeclOccurence() 215 IndexingDeclVisitor(*this, Loc, LexicalDC).Visit(ASTNode.OrigD); in handleDeclOccurence() 532 const DeclContext *LexicalDC, in handleDecl() argument 545 if (!LexicalDC) in handleDecl() [all …]
|
D | CXIndexDataConsumer.h | 426 const DeclContext *LexicalDC); 479 const DeclContext *LexicalDC = nullptr,
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 228 DeclContext *LexicalDC; member 720 return getMultipleDC()->LexicalDC; in getLexicalDeclContext() 1031 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 964 serialization::GlobalDeclID LexicalDC; member 1262 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument 1264 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 296 if (const DeclContext *LexicalDC in getCurrentMangleNumberContext() local 298 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
|
D | SemaTemplateInstantiateDecl.cpp | 1560 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local 1563 LexicalDC = D->getDeclContext(); in VisitFunctionDecl() 1566 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl() 1596 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
|
D | SemaCodeComplete.cpp | 731 const DeclContext *LexicalDC = ND->getLexicalDeclContext(); in getBasePriority() local 732 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 518 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl() local 519 if (!LexicalDC) in VisitDecl() 520 LexicalDC = SemaDC; in VisitDecl() 524 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl()
|
D | ASTReader.cpp | 8374 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local 8375 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()
|