Updated diagnostic for -Wfloat-equal to underline the offending expressions.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44054 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaExpr.cpp b/Sema/SemaExpr.cpp
index 2981d4a..a533da6 100644
--- a/Sema/SemaExpr.cpp
+++ b/Sema/SemaExpr.cpp
@@ -1260,7 +1260,8 @@
             EmitWarning = false;
       
       if (EmitWarning)
-        Diag(loc, diag::warn_floatingpoint_eq);
+        Diag(loc, diag::warn_floatingpoint_eq,
+             lex->getSourceRange(),rex->getSourceRange());
     }
     
     if (lType->isArithmeticType() && rType->isArithmeticType())