Home
last modified time | relevance | path

Searched refs:SemaDC (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp552 const DeclContext *SemaDC) { in handleDecl() argument
578 if (!SemaDC) in handleDecl()
579 SemaDC = D->getDeclContext(); in handleDecl()
580 getContainerInfo(SemaDC, DInfo.SemanticContainer); in handleDecl()
583 if (LexicalDC == SemaDC) { in handleDecl()
H A DCXIndexDataConsumer.h449 const DeclContext *SemaDC = nullptr);
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclBase.cpp364 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument
366 if (SemaDC == LexicalDC) { in setDeclContextsImpl()
367 DeclCtx = SemaDC; in setDeclContextsImpl()
370 MDC->SemanticDC = SemaDC; in setDeclContextsImpl()
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DASTReader.h1119 serialization::GlobalDeclID SemaDC; member
1495 serialization::GlobalDeclID SemaDC, in addPendingDeclContextInfo() argument
1498 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp587 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl() local
590 LexicalDC = SemaDC; in VisitDecl()
591 DeclContext *MergedSemaDC = Reader.MergedDeclContexts.lookup(SemaDC); in VisitDecl()
594 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl()
H A DASTReader.cpp9344 DeclContext *SemaDC = cast<DeclContext>(GetDecl(Info.SemaDC)); in finishPendingActions() local
9346 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclBase.h1232 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDecl.cpp3583 auto *SemaDC = OldD->getDeclContext()->getRedeclContext(); in adjustDeclContextForDeclaratorDecl() local
3584 if (NamedDC->Equals(SemaDC)) in adjustDeclContextForDeclaratorDecl()
3587 assert((NamedDC->InEnclosingNamespaceSetOf(SemaDC) || in adjustDeclContextForDeclaratorDecl()
3595 D->setDeclContext(SemaDC); in adjustDeclContextForDeclaratorDecl()