]> granicus.if.org Git - clang/commitdiff
Fixed typo introduced by r46133 that caused -Wfloat-equal to break.
authorTed Kremenek <kremenek@apple.com>
Thu, 17 Jan 2008 17:55:13 +0000 (17:55 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 17 Jan 2008 17:55:13 +0000 (17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46134 91177308-0d34-0410-b5e6-96231b3b80d8

Sema/SemaChecking.cpp

index 44c559b4d514144ab35f00950c6665dc48959b02..470211d9abee599d886502312bc1ce68b457aabd 100644 (file)
@@ -752,7 +752,7 @@ void Sema::CheckFloatComparison(SourceLocation loc, Expr* lex, Expr *rex) {
   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.