Lines Matching refs:CurContext
615 if (CurContext->isDependentContext() || (E && E->isInstantiationDependent())) in checkAndRewriteMustTailAttr()
637 assert(!CurContext->isDependentContext() && in checkMustTailAttr()
698 const auto *CallerDecl = dyn_cast<FunctionDecl>(CurContext); in checkMustTailAttr()
703 if (isa<BlockDecl>(CurContext)) in checkMustTailAttr()
705 else if (isa<ObjCMethodDecl>(CurContext)) in checkMustTailAttr()
712 } else if (const auto *CMD = dyn_cast<CXXMethodDecl>(CurContext)) { in checkMustTailAttr()
936 if (CurContext->isFunctionOrMethod()) { in ActOnIfStmt()
938 dyn_cast<FunctionDecl>(Decl::castFromDeclContext(CurContext)); in ActOnIfStmt()
2407 SemaRef.CurContext->addHiddenDecl(Decl); in FinishForRangeVarDecl()
2448 DeclContext *DC = SemaRef.CurContext; in BuildForRangeVarDecl()
3631 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt()
3991 FunctionDecl *FD = cast<FunctionDecl>(CurContext); in BuildReturnStmt()
4557 DeclContext *DC = CurContext; in ActOnSEHTryBlock()
4637 DeclContext *DC = CurContext; in CreateCapturedStmtRecordDecl()
4654 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
4724 CurContext = CD; in ActOnCapturedRegionStart()
4783 CurContext = CD; in ActOnCapturedRegionStart()