[cfe-commits] r67394 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Ted Kremenek kremenek at apple.com
Fri Mar 20 12:57:37 PDT 2009


Author: kremenek
Date: Fri Mar 20 14:57:37 2009
New Revision: 67394

URL: http://llvm.org/viewvc/llvm-project?rev=67394&view=rev
Log:
Remove unneeded radar reference.

Modified:
    cfe/trunk/lib/Sema/SemaExpr.cpp

Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=67394&r1=67393&r2=67394&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Fri Mar 20 14:57:37 2009
@@ -3276,9 +3276,8 @@
     // For non-floating point types, check for self-comparisons of the form
     // x == x, x != x, x < x, etc.  These always evaluate to a constant, and
     // often indicate logic errors in the program.
-    // NOTE: Per <rdar://problem/6703892>, don't warn about comparisons of enum
-    //  constants.  These can arise from macro expansions, and are usually quite
-    //  deliberate.
+    // NOTE: Don't warn about comparisons of enum constants. These can arise 
+    //  from macro expansions, and are usually quite deliberate.
     Expr *LHSStripped = lex->IgnoreParens();
     Expr *RHSStripped = rex->IgnoreParens();
     if (DeclRefExpr* DRL = dyn_cast<DeclRefExpr>(LHSStripped))





More information about the cfe-commits mailing list