• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/

Lines Matching defs:CurContext

1636     SemanticContext = CurContext;
1691 DeclContext *OutermostContext = CurContext;
1745 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1805 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1835 = !(TUK == TUK_Friend && CurContext->isDependentContext());
1885 NewClass->setLexicalDeclContext(CurContext);
1886 NewTemplate->setLexicalDeclContext(CurContext);
1914 if (!CurContext->isDependentContext()) {
1923 Context, CurContext, NewClass->getLocation(), NewTemplate, FriendLoc);
1925 CurContext->addDecl(Friend);
3623 // changes to CurContext don't change the set of current
3626 for (DeclContext *Ctx = CurContext; Ctx; Ctx = Ctx->getLookupParent()) {
4216 << /*is definition*/(SC != SC_Extern && !CurContext->isRecord())
4312 Specialization->setLexicalDeclContext(CurContext);
4317 CurContext->addDecl(Specialization);
5419 Params = SubstTemplateParams(Params, CurContext,
7881 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) {
7892 DeclContext *DC = S.CurContext->getRedeclContext();
8312 if (CurContext->isDependentContext()) {
8408 Specialization->setLexicalDeclContext(CurContext);
8415 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
8420 CurContext->addDecl(Friend);
8425 CurContext->addDecl(Specialization);
8446 DeclContext *DC = CurContext;
9226 DeclContext *CurContext = S.CurContext->getRedeclContext();
9228 if (CurContext->isRecord()) {
9243 if (CurContext->Encloses(OrigContext))
9246 if (CurContext->InEnclosingNamespaceSetOf(OrigContext))
9541 Specialization->setLexicalDeclContext(CurContext);
9542 CurContext->addDecl(Specialization);
10778 DeclContext *DC = CurContext;
10781 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(CurContext)) {