/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/llvm-project/clang/lib/AST/ |
D | ASTImporter.cpp | 392 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC, 1600 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC, in ImportDeclParts() argument 1631 if (Error Err = ImportDeclContext(D, DC, LexicalDC)) in ImportDeclParts() 2216 DeclContext *DC, *LexicalDC; in VisitEmptyDecl() local 2217 if (Error Err = ImportDeclContext(D, DC, LexicalDC)) in VisitEmptyDecl() 2229 ToD->setLexicalDeclContext(LexicalDC); in VisitEmptyDecl() 2230 LexicalDC->addDeclInternal(ToD); in VisitEmptyDecl() 2275 DeclContext *LexicalDC = DC; in VisitStaticAssertDecl() local 2291 ToD->setLexicalDeclContext(LexicalDC); in VisitStaticAssertDecl() 2292 LexicalDC->addDeclInternal(ToD); in VisitStaticAssertDecl() [all …]
|
D | DeclBase.cpp | 338 getMultipleDC()->LexicalDC = DC; in setLexicalDeclContext() 355 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument 357 if (SemaDC == LexicalDC) { in setDeclContextsImpl() 362 MDC->LexicalDC = LexicalDC; in setDeclContextsImpl()
|
/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/llvm-project/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 27 const DeclContext *LexicalDC; member in __anon3609800f0111::IndexingDeclVisitor 32 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor() 94 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl() 95 DataConsumer.handleSynthesizedObjCMethod(D, DeclLoc, LexicalDC); in VisitObjCMethodDecl() 210 const DeclContext *LexicalDC = ASTNode.ContainerDC; in handleDeclOccurrence() local 211 if (!LexicalDC) { in handleDeclOccurrence() 214 LexicalDC = dyn_cast<DeclContext>(SymRel.RelatedSymbol); in handleDeclOccurrence() 217 IndexingDeclVisitor(*this, Loc, LexicalDC).Visit(ASTNode.OrigD); in handleDeclOccurrence() 544 const DeclContext *LexicalDC, in handleDecl() argument 557 if (!LexicalDC) in handleDecl() [all …]
|
D | CXIndexDataConsumer.h | 403 const DeclContext *LexicalDC); 447 const DeclContext *LexicalDC = nullptr,
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 28 const DeclContext *LexicalDC; member in __anonadbb56610111::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/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 252 DeclContext *LexicalDC; member 846 return getMultipleDC()->LexicalDC; in getLexicalDeclContext() 1190 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
|
/external/llvm-project/clang/include/clang/Serialization/ |
D | ASTReader.h | 1097 serialization::GlobalDeclID LexicalDC; member 1440 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument 1442 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
|
/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/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 171 static DeclContext *getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC); 579 auto *LexicalDC = readDeclAs<DeclContext>(); in VisitDecl() local 580 if (!LexicalDC) in VisitDecl() 581 LexicalDC = SemaDC; in VisitDecl() 585 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl() 3355 ASTDeclReader::getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC) { in getPrimaryDCForAnonymousDecl() argument 3357 if (auto *RD = dyn_cast<CXXRecordDecl>(LexicalDC)) { in getPrimaryDCForAnonymousDecl() 3365 for (auto *D : merged_redecls(cast<Decl>(LexicalDC))) { in getPrimaryDCForAnonymousDecl()
|
D | ASTReader.cpp | 9380 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local 9381 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()
|
/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/llvm-project/clang/lib/Sema/ |
D | SemaLambda.cpp | 295 if (const DeclContext *LexicalDC in getCurrentMangleNumberContext() local 297 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
|
D | SemaTemplateInstantiateDecl.cpp | 2005 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local 2008 LexicalDC = D->getDeclContext(); in VisitFunctionDecl() 2011 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl() 2043 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
|
D | SemaCodeComplete.cpp | 943 const DeclContext *LexicalDC = ND->getLexicalDeclContext(); in getBasePriority() local 944 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()
|