Home
last modified time | relevance | path

Searched refs:ScopeInfo (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp505 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise() local
593 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local
599 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() local
695 assert(ScopeInfo->CoroutinePromise); in ActOnCoroutineBodyStart()
699 if (!ScopeInfo->NeedsCoroutineSuspends) in ActOnCoroutineBodyStart()
702 ScopeInfo->setNeedsCoroutineSuspends(false); in ActOnCoroutineBodyStart()
[all …]
H A DCMakeLists.txt24 ScopeInfo.cpp
H A DTreeTransform.h7837 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt() local
7839 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()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dresolve-labels.cpp32 struct ScopeInfo { struct
168 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 …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Sema/
H A DBUILD.gn44 "ScopeInfo.cpp",
/llvm-project-15.0.7/clang/lib/AST/
H A DItaniumMangle.cpp4472 if (TypeSourceInfo *ScopeInfo = PDE->getScopeTypeInfo()) { in mangleExpression() local
4476 mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType()); in mangleExpression()
4480 if (!mangleUnresolvedTypeOrSimpleId(ScopeInfo->getType())) in mangleExpression()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DRecursiveASTVisitor.h2738 if (TypeSourceInfo *ScopeInfo = S->getScopeTypeInfo())
2739 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));