Lines Matching refs:CurContext
69 cast<Decl>(CurContext)->getAvailability() != AR_Unavailable)
1615 if (const FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext))
1629 (CurContext != D->getDeclContext() &&
1727 ? CurContext : 0;
1736 // During a default argument instantiation the CurContext points
1742 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext);
2037 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CurContext);
2292 if (CurContext->isClosure())
3989 S.getScopeForContext(S.CurContext), NULL, CCC)) {
8250 DeclContext *DC = S.CurContext, *Prev = 0;
10179 BlockDecl *Block = BlockDecl::Create(Context, CurContext, CaretLoc);
10192 CurContext->addDecl(Block);
10196 CurContext = Block;
11102 if (SemaRef.CurContext->isDependentContext())
11226 if (CurContext == Func) return;
11328 if (!S.getLangOpts().CPlusPlus && !S.CurContext->isFunctionOrMethod())
11656 = VarDecl::Create(S.Context, S.CurContext, Loc, Loc,
11827 DeclContext *DC = CurContext;
12089 (SemaRef.CurContext != Var->getDeclContext() &&