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();
|
||||
Returns.clear();
|
||||
CoroutinePromise = nullptr;
|
||||
CoroutineStmts.clear();
|
||||
ErrorTrap.reset();
|
||||
PossiblyUnreachableDiags.clear();
|
||||
|
|
Loading…
Reference in New Issue