forked from OSchip/llvm-project
Fixed typo introduced by r46133 that caused -Wfloat-equal to break.
llvm-svn: 46134
This commit is contained in:
parent
f1dae23b68
commit
32a3358eab
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue