Lines Matching refs:CurContext
598 if (CurContext->isDependentContext() || (E && E->isInstantiationDependent())) in checkAndRewriteMustTailAttr()
620 assert(!CurContext->isDependentContext() && in checkMustTailAttr()
681 const auto *CallerDecl = dyn_cast<FunctionDecl>(CurContext); in checkMustTailAttr()
686 if (isa<BlockDecl>(CurContext)) in checkMustTailAttr()
688 else if (isa<ObjCMethodDecl>(CurContext)) in checkMustTailAttr()
695 } else if (const auto *CMD = dyn_cast<CXXMethodDecl>(CurContext)) { in checkMustTailAttr()
2361 SemaRef.CurContext->addHiddenDecl(Decl); in FinishForRangeVarDecl()
2402 DeclContext *DC = SemaRef.CurContext; in BuildForRangeVarDecl()
3585 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt()
3957 FunctionDecl *FD = cast<FunctionDecl>(CurContext); in BuildReturnStmt()
4490 DeclContext *DC = CurContext; in ActOnSEHTryBlock()
4570 DeclContext *DC = CurContext; in CreateCapturedStmtRecordDecl()
4587 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
4657 CurContext = CD; in ActOnCapturedRegionStart()
4716 CurContext = CD; in ActOnCapturedRegionStart()