From: Benjamin Kramer Date: Sun, 21 Oct 2012 15:21:56 +0000 (+0000) Subject: Silence warning about && in ||. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6592c770777069678026f535d723779b0150205e;p=clang Silence warning about && in ||. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166391 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Option.cpp b/lib/Driver/Option.cpp index 116dbca5b0..e9440c5242 100644 --- a/lib/Driver/Option.cpp +++ b/lib/Driver/Option.cpp @@ -23,7 +23,7 @@ Option::Option(const OptTable::Info *info, const OptTable *owner) // 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."); }