[cfe-commits] r46134 - /cfe/trunk/Sema/SemaChecking.cpp
Ted Kremenek
kremenek at apple.com
Thu Jan 17 09:55:13 PST 2008
Author: kremenek
Date: Thu Jan 17 11:55:13 2008
New Revision: 46134
URL: http://llvm.org/viewvc/llvm-project?rev=46134&view=rev
Log:
Fixed typo introduced by r46133 that caused -Wfloat-equal to break.
Modified:
cfe/trunk/Sema/SemaChecking.cpp
Modified: cfe/trunk/Sema/SemaChecking.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaChecking.cpp?rev=46134&r1=46133&r2=46134&view=diff
==============================================================================
--- cfe/trunk/Sema/SemaChecking.cpp (original)
+++ cfe/trunk/Sema/SemaChecking.cpp Thu Jan 17 11:55:13 2008
@@ -752,7 +752,7 @@
bool EmitWarning = true;
Expr* LeftExprSansParen = lex->IgnoreParens();
- Expr* RightExprSansParen = lex->IgnoreParens();
+ Expr* RightExprSansParen = rex->IgnoreParens();
// Special case: check for x == x (which is OK).
// Do not emit warnings for such cases.
More information about the cfe-commits
mailing list