forked from OSchip/llvm-project
Properly clear current coroutine promise on FunctionScopeInfo reuse. Should
hopefully make bots happy again. llvm-svn: 251397
This commit is contained in:
parent
d749f235ed
commit
dcd04d1b5b
|
@ -39,6 +39,7 @@ void FunctionScopeInfo::Clear() {
|
||||||
|
|
||||||
SwitchStack.clear();
|
SwitchStack.clear();
|
||||||
Returns.clear();
|
Returns.clear();
|
||||||
|
CoroutinePromise = nullptr;
|
||||||
CoroutineStmts.clear();
|
CoroutineStmts.clear();
|
||||||
ErrorTrap.reset();
|
ErrorTrap.reset();
|
||||||
PossiblyUnreachableDiags.clear();
|
PossiblyUnreachableDiags.clear();
|
||||||
|
|
Loading…
Reference in New Issue