Searched refs:ScopeInfo (Results 1 – 11 of 11) sorted by relevance
131 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local132 assert(ScopeInfo && "missing function scope for function"); in checkCoroutineContext()135 if (!ScopeInfo->CoroutinePromise) { in checkCoroutineContext()145 ScopeInfo->CoroutinePromise = in checkCoroutineContext()149 S.CheckVariableDeclarationType(ScopeInfo->CoroutinePromise); in checkCoroutineContext()150 if (!ScopeInfo->CoroutinePromise->isInvalidDecl()) in checkCoroutineContext()151 S.ActOnUninitializedDecl(ScopeInfo->CoroutinePromise, false); in checkCoroutineContext()154 return ScopeInfo; in checkCoroutineContext()
19 ScopeInfo.cpp
551 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise() local571 auto &Moves = ScopeInfo->CoroutineParameterMoves; in buildCoroutinePromise()635 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local636 assert(ScopeInfo && "missing function scope for function"); in checkCoroutineContext()638 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit) in checkCoroutineContext()639 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext()641 if (ScopeInfo->CoroutinePromise) in checkCoroutineContext()642 return ScopeInfo; in checkCoroutineContext()647 ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc); in checkCoroutineContext()648 if (!ScopeInfo->CoroutinePromise) in checkCoroutineContext()[all …]
21 ScopeInfo.cpp
7620 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt() local7622 assert(FD && ScopeInfo && !ScopeInfo->CoroutinePromise && in TransformCoroutineBodyStmt()7623 ScopeInfo->NeedsCoroutineSuspends && in TransformCoroutineBodyStmt()7624 ScopeInfo->CoroutineSuspends.first == nullptr && in TransformCoroutineBodyStmt()7625 ScopeInfo->CoroutineSuspends.second == nullptr && in TransformCoroutineBodyStmt()7630 ScopeInfo->setNeedsCoroutineSuspends(false); in TransformCoroutineBodyStmt()7644 ScopeInfo->CoroutinePromise = Promise; in TransformCoroutineBodyStmt()7657 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in TransformCoroutineBodyStmt()7664 CoroutineStmtBuilder Builder(SemaRef, *FD, *ScopeInfo, BodyRes.get()); in TransformCoroutineBodyStmt()
40 "ScopeInfo.cpp",
599 if (const MDNode *ScopeInfo = getAAInfo().Scope) { in print() local601 if (ScopeInfo->getNumOperands() > 0) in print()602 for (unsigned i = 0, ie = ScopeInfo->getNumOperands(); i != ie; ++i) { in print()603 ScopeInfo->getOperand(i)->printAsOperand(OS, MST); in print()
3395 if (TypeSourceInfo *ScopeInfo = PDE->getScopeTypeInfo()) { in mangleExpression() local3399 mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType()); in mangleExpression()3403 if (!mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType())) in mangleExpression()
2322 if (TypeSourceInfo *ScopeInfo = S->getScopeTypeInfo())2323 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));
2575 if (TypeSourceInfo *ScopeInfo = S->getScopeTypeInfo())2576 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));
4135 if (TypeSourceInfo *ScopeInfo = PDE->getScopeTypeInfo()) { in mangleExpression() local4139 mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType()); in mangleExpression()4143 if (!mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType())) in mangleExpression()