Searched refs:ScopeInfo (Results 1 – 7 of 7) sorted by relevance
505 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise() local593 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local599 if (ScopeInfo->CoroutinePromise) in checkCoroutineContext()600 return ScopeInfo; in checkCoroutineContext()606 if (!ScopeInfo->CoroutinePromise) in checkCoroutineContext()609 return ScopeInfo; in checkCoroutineContext()694 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart() local695 assert(ScopeInfo->CoroutinePromise); in ActOnCoroutineBodyStart()699 if (!ScopeInfo->NeedsCoroutineSuspends) in ActOnCoroutineBodyStart()702 ScopeInfo->setNeedsCoroutineSuspends(false); in ActOnCoroutineBodyStart()[all …]
24 ScopeInfo.cpp
7837 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt() local7839 assert(FD && ScopeInfo && !ScopeInfo->CoroutinePromise && in TransformCoroutineBodyStmt()7840 ScopeInfo->NeedsCoroutineSuspends && in TransformCoroutineBodyStmt()7841 ScopeInfo->CoroutineSuspends.first == nullptr && in TransformCoroutineBodyStmt()7842 ScopeInfo->CoroutineSuspends.second == nullptr && in TransformCoroutineBodyStmt()7847 ScopeInfo->setNeedsCoroutineSuspends(false); in TransformCoroutineBodyStmt()7861 ScopeInfo->CoroutinePromise = Promise; in TransformCoroutineBodyStmt()7874 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in TransformCoroutineBodyStmt()7881 CoroutineStmtBuilder Builder(SemaRef, *FD, *ScopeInfo, BodyRes.get()); in TransformCoroutineBodyStmt()
32 struct ScopeInfo { struct168 std::vector<ScopeInfo> scopeModel;548 ScopeInfo &PushScope() { in PushScope()551 ScopeInfo &result{model.emplace_back()}; in PushScope()563 ScopeInfo &PopScope() { in PopScope()564 ScopeInfo &result{programUnits_.back().scopeModel[currentScope_]}; in PopScope()572 ScopeInfo &oldScope{PopScope()}; in SwitchToNewScope()915 const std::vector<ScopeInfo> &scopes, ProxyForScope scope) { in ParentScope()921 const std::vector<ScopeInfo> &scopes, SemanticsContext &context) { in CheckLabelDoConstraints()970 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes, in CheckScopeConstraints()[all …]
44 "ScopeInfo.cpp",
4472 if (TypeSourceInfo *ScopeInfo = PDE->getScopeTypeInfo()) { in mangleExpression() local4476 mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType()); in mangleExpression()4480 if (!mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType())) in mangleExpression()
2738 if (TypeSourceInfo *ScopeInfo = S->getScopeTypeInfo())2739 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));