Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/
HDDeclBase.cpp386 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument
388 if (SemaDC == LexicalDC) { in setDeclContextsImpl()
389 DeclCtx = SemaDC; in setDeclContextsImpl()
392 MDC->SemanticDC = SemaDC; in setDeclContextsImpl()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Serialization/
HDASTReader.h1136 GlobalDeclID SemaDC; member
1515 void addPendingDeclContextInfo(Decl *D, GlobalDeclID SemaDC, in addPendingDeclContextInfo() argument
1518 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReaderDecl.cpp612 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl() local
616 LexicalDC = SemaDC; in VisitDecl()
620 if (auto *RD = dyn_cast<CXXRecordDecl>(SemaDC)) in VisitDecl()
623 MergedSemaDC = Reader.MergedDeclContexts.lookup(SemaDC); in VisitDecl()
626 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl()
HDASTReader.cpp9752 DeclContext *SemaDC = cast<DeclContext>(GetDecl(Info.SemaDC)); in finishPendingActions() local
9754 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDDeclBase.h1266 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaDecl.cpp3512 auto *SemaDC = OldD->getDeclContext()->getRedeclContext(); in adjustDeclContextForDeclaratorDecl() local
3513 if (NamedDC->Equals(SemaDC)) in adjustDeclContextForDeclaratorDecl()
3516 assert((NamedDC->InEnclosingNamespaceSetOf(SemaDC) || in adjustDeclContextForDeclaratorDecl()
3524 D->setDeclContext(SemaDC); in adjustDeclContextForDeclaratorDecl()