r251397 - Properly clear current coroutine promise on FunctionScopeInfo reuse. Should
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 27 00:47:46 PDT 2015
Author: rsmith
Date: Tue Oct 27 02:47:45 2015
New Revision: 251397
URL: http://llvm.org/viewvc/llvm-project?rev=251397&view=rev
Log:
Properly clear current coroutine promise on FunctionScopeInfo reuse. Should
hopefully make bots happy again.
Modified:
cfe/trunk/lib/Sema/ScopeInfo.cpp
Modified: cfe/trunk/lib/Sema/ScopeInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/ScopeInfo.cpp?rev=251397&r1=251396&r2=251397&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/ScopeInfo.cpp (original)
+++ cfe/trunk/lib/Sema/ScopeInfo.cpp Tue Oct 27 02:47:45 2015
@@ -39,6 +39,7 @@ void FunctionScopeInfo::Clear() {
SwitchStack.clear();
Returns.clear();
+ CoroutinePromise = nullptr;
CoroutineStmts.clear();
ErrorTrap.reset();
PossiblyUnreachableDiags.clear();
More information about the cfe-commits
mailing list