Home
last modified time | relevance | path

Searched refs:LexicalDC (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTImporter.cpp386 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC,
1615 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC, in ImportDeclParts() argument
1646 if (Error Err = ImportDeclContext(D, DC, LexicalDC)) in ImportDeclParts()
2250 DeclContext *DC, *LexicalDC; in VisitEmptyDecl() local
2251 if (Error Err = ImportDeclContext(D, DC, LexicalDC)) in VisitEmptyDecl()
2263 ToD->setLexicalDeclContext(LexicalDC); in VisitEmptyDecl()
2264 LexicalDC->addDeclInternal(ToD); in VisitEmptyDecl()
2309 DeclContext *LexicalDC = DC; in VisitStaticAssertDecl() local
2325 ToD->setLexicalDeclContext(LexicalDC); in VisitStaticAssertDecl()
2326 LexicalDC->addDeclInternal(ToD); in VisitStaticAssertDecl()
[all …]
H A DDeclBase.cpp338 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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp27 const DeclContext *LexicalDC; member in __anone67901630111::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 …]
H A DCXIndexDataConsumer.h403 const DeclContext *LexicalDC);
447 const DeclContext *LexicalDC = nullptr,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclBase.h252 DeclContext *LexicalDC; member
846 return getMultipleDC()->LexicalDC; in getLexicalDeclContext()
1190 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DASTReader.h1101 serialization::GlobalDeclID LexicalDC; member
1446 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument
1448 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp171 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()
3357 ASTDeclReader::getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC) { in getPrimaryDCForAnonymousDecl() argument
3359 if (auto *RD = dyn_cast<CXXRecordDecl>(LexicalDC)) { in getPrimaryDCForAnonymousDecl()
3367 for (auto *D : merged_redecls(cast<Decl>(LexicalDC))) { in getPrimaryDCForAnonymousDecl()
H A DASTReader.cpp9243 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local
9244 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLambda.cpp295 if (const DeclContext *LexicalDC in getCurrentMangleNumberContext() local
297 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
H A DSemaTemplateInstantiateDecl.cpp2007 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local
2010 LexicalDC = D->getDeclContext(); in VisitFunctionDecl()
2013 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2045 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
H A DSemaCodeComplete.cpp972 const DeclContext *LexicalDC = ND->getLexicalDeclContext(); in getBasePriority() local
973 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()