[cfe-commits] r166391 - /cfe/trunk/lib/Driver/Option.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Oct 21 08:21:57 PDT 2012
Author: d0k
Date: Sun Oct 21 10:21:56 2012
New Revision: 166391
URL: http://llvm.org/viewvc/llvm-project?rev=166391&view=rev
Log:
Silence warning about && in ||.
Modified:
cfe/trunk/lib/Driver/Option.cpp
Modified: cfe/trunk/lib/Driver/Option.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Option.cpp?rev=166391&r1=166390&r2=166391&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Option.cpp (original)
+++ cfe/trunk/lib/Driver/Option.cpp Sun Oct 21 10:21:56 2012
@@ -23,7 +23,7 @@
// Multi-level aliases are not supported, and alias options cannot
// have groups. 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() &&
!getGroup().isValid())) &&
"Multi-level aliases and aliases with groups are unsupported.");
}
More information about the cfe-commits
mailing list