Properly clear current coroutine promise on FunctionScopeInfo reuse. Should

hopefully make bots happy again.

llvm-svn: 251397
This commit is contained in:
Richard Smith 2015-10-27 07:47:45 +00:00
parent d749f235ed
commit dcd04d1b5b
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ void FunctionScopeInfo::Clear() {
SwitchStack.clear();
Returns.clear();
CoroutinePromise = nullptr;
CoroutineStmts.clear();
ErrorTrap.reset();
PossiblyUnreachableDiags.clear();