r206899 - Thread safety analysis: fix warning.
DeLesley Hutchins
delesley at google.com
Tue Apr 22 07:51:04 PDT 2014
Author: delesley
Date: Tue Apr 22 09:51:04 2014
New Revision: 206899
URL: http://llvm.org/viewvc/llvm-project?rev=206899&view=rev
Log:
Thread safety analysis: fix warning.
Modified:
cfe/trunk/lib/Analysis/ThreadSafetyCommon.cpp
Modified: cfe/trunk/lib/Analysis/ThreadSafetyCommon.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ThreadSafetyCommon.cpp?rev=206899&r1=206898&r2=206899&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ThreadSafetyCommon.cpp (original)
+++ cfe/trunk/lib/Analysis/ThreadSafetyCommon.cpp Tue Apr 22 09:51:04 2014
@@ -362,9 +362,8 @@ til::SExpr *SExprBuilder::translateBinar
case BO_Comma:
// The clang CFG should have already processed both sides.
return translate(BO->getRHS(), Ctx);
-
- return new (Arena) til::Undefined(BO);
}
+ return new (Arena) til::Undefined(BO);
}
More information about the cfe-commits
mailing list