| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 2254 DeclContext *DC, *LexicalDC; in VisitEmptyDecl() local 2282 DeclContext *DC, *LexicalDC; in VisitBindingDecl() local 2342 DeclContext *LexicalDC = DC; in VisitStaticAssertDecl() local 2365 DeclContext *DC, *LexicalDC; in VisitNamespaceDecl() local 2448 DeclContext *DC, *LexicalDC; in VisitNamespaceAliasDecl() local 2497 DeclContext *LexicalDC = in VisitTypedefNameDecl() local 2593 DeclContext *DC, *LexicalDC; in VisitTypeAliasTemplateDecl() local 2650 DeclContext *DC, *LexicalDC; in VisitLabelDecl() local 2689 DeclContext *DC, *LexicalDC; in VisitEnumDecl() local 3034 DeclContext *DC, *LexicalDC; in VisitEnumConstantDecl() local [all …]
|
| H A D | DeclBase.cpp | 339 getMultipleDC()->LexicalDC = DC; in setLexicalDeclContext() 356 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument 358 if (SemaDC == LexicalDC) { in setDeclContextsImpl() 363 MDC->LexicalDC = LexicalDC; in setDeclContextsImpl()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.cpp | 27 const DeclContext *LexicalDC; member in __anond6d661a80111::IndexingDeclVisitor 32 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor() 95 DataConsumer.handleSynthesizedObjCMethod(D, DeclLoc, LexicalDC); in VisitObjCMethodDecl() 215 const DeclContext *LexicalDC = ASTNode.ContainerDC; in handleDeclOccurrence() local 216 if (!LexicalDC) { in handleDeclOccurrence() 219 LexicalDC = dyn_cast<DeclContext>(SymRel.RelatedSymbol); in handleDeclOccurrence() 551 const DeclContext *LexicalDC, in handleDecl() argument 564 if (!LexicalDC) in handleDecl() 565 LexicalDC = D->getLexicalDeclContext(); in handleDecl() 583 if (LexicalDC == SemaDC) { in handleDecl() [all …]
|
| H A D | CXIndexDataConsumer.h | 402 const DeclContext *LexicalDC); 448 const DeclContext *LexicalDC = nullptr,
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 172 static DeclContext *getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC); 583 auto *LexicalDC = readDeclAs<DeclContext>(); in VisitDecl() local 584 if (!LexicalDC) in VisitDecl() 585 LexicalDC = SemaDC; in VisitDecl() 589 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl() 3118 ASTDeclReader::getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC) { in getPrimaryDCForAnonymousDecl() argument 3120 if (auto *RD = dyn_cast<CXXRecordDecl>(LexicalDC)) { in getPrimaryDCForAnonymousDecl() 3123 } else if (auto *OID = dyn_cast<ObjCInterfaceDecl>(LexicalDC)) { in getPrimaryDCForAnonymousDecl() 3130 for (auto *D : merged_redecls(cast<Decl>(LexicalDC))) { in getPrimaryDCForAnonymousDecl()
|
| H A D | ASTReader.cpp | 9320 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local 9321 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclBase.h | 253 DeclContext *LexicalDC; member 875 return getMultipleDC()->LexicalDC; in getLexicalDeclContext() 1221 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 1102 serialization::GlobalDeclID LexicalDC; member 1467 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument 1469 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 293 if (const DeclContext *LexicalDC in getCurrentMangleNumberContext() local 295 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 2129 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local 2132 LexicalDC = D->getDeclContext(); in VisitFunctionDecl() 2135 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl() 2167 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
|
| H A D | SemaCodeComplete.cpp | 973 const DeclContext *LexicalDC = ND->getLexicalDeclContext(); in getBasePriority() local 974 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()
|