[llvm] r186879 - Silence gcc warning.

Richard Trieu rtrieu at google.com
Mon Jul 22 14:29:28 PDT 2013


Author: rtrieu
Date: Mon Jul 22 16:29:28 2013
New Revision: 186879

URL: http://llvm.org/viewvc/llvm-project?rev=186879&view=rev
Log:
Silence gcc warning.

Modified:
    llvm/trunk/lib/Option/Option.cpp

Modified: llvm/trunk/lib/Option/Option.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Option/Option.cpp?rev=186879&r1=186878&r2=186879&view=diff
==============================================================================
--- llvm/trunk/lib/Option/Option.cpp (original)
+++ llvm/trunk/lib/Option/Option.cpp Mon Jul 22 16:29:28 2013
@@ -24,7 +24,7 @@ Option::Option(const OptTable::Info *inf
 
   // Multi-level aliases are not supported. This just simplifies option
   // tracking, it is not an inherent limitation.
-  assert(!Info || !getAlias().isValid() || !getAlias().getAlias().isValid() &&
+  assert((!Info || !getAlias().isValid() || !getAlias().getAlias().isValid()) &&
          "Multi-level aliases are not supported.");
 }
 





More information about the llvm-commits mailing list