Lines Matching defs:ScopeInfo
27 #include "clang/Sema/ScopeInfo.h"
502 auto *ScopeInfo = getCurFunction();
522 auto &Moves = ScopeInfo->CoroutineParameterMoves;
590 auto *ScopeInfo = S.getCurFunction();
591 assert(ScopeInfo && "missing function scope for function");
593 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit)
594 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword);
596 if (ScopeInfo->CoroutinePromise)
597 return ScopeInfo;
602 ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc);
603 if (!ScopeInfo->CoroutinePromise)
606 return ScopeInfo;
694 auto *ScopeInfo = getCurFunction();
695 assert(ScopeInfo->CoroutinePromise);
699 if (!ScopeInfo->NeedsCoroutineSuspends)
702 ScopeInfo->setNeedsCoroutineSuspends(false);
708 ExprResult Operand = buildPromiseCall(*this, ScopeInfo->CoroutinePromise,
736 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get());
1869 auto *ScopeInfo = getCurFunction();
1870 if (!ScopeInfo->CoroutineParameterMoves.empty())
1912 ScopeInfo->CoroutineParameterMoves.insert(std::make_pair(PD, Stmt.get()));