Lines Matching refs:CurContext
616 if (CurContext->isDependentContext() || (E && E->isInstantiationDependent())) in checkAndRewriteMustTailAttr()
638 assert(!CurContext->isDependentContext() && in checkMustTailAttr()
699 const auto *CallerDecl = dyn_cast<FunctionDecl>(CurContext); in checkMustTailAttr()
704 if (isa<BlockDecl>(CurContext)) in checkMustTailAttr()
706 else if (isa<ObjCMethodDecl>(CurContext)) in checkMustTailAttr()
713 } else if (const auto *CMD = dyn_cast<CXXMethodDecl>(CurContext)) { in checkMustTailAttr()
944 if (CurContext->isFunctionOrMethod()) { in ActOnIfStmt()
946 dyn_cast<FunctionDecl>(Decl::castFromDeclContext(CurContext)); in ActOnIfStmt()
2417 SemaRef.CurContext->addHiddenDecl(Decl); in FinishForRangeVarDecl()
2458 DeclContext *DC = SemaRef.CurContext; in BuildForRangeVarDecl()
3643 if (!CurContext->isDependentContext()) in ActOnCapScopeReturnStmt()
4026 FunctionDecl *FD = cast<FunctionDecl>(CurContext); in BuildReturnStmt()
4619 DeclContext *DC = CurContext; in ActOnSEHTryBlock()
4699 DeclContext *DC = CurContext; in CreateCapturedStmtRecordDecl()
4717 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
4787 CurContext = CD; in ActOnCapturedRegionStart()
4847 CurContext = CD; in ActOnCapturedRegionStart()