From 6592c770777069678026f535d723779b0150205e Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 21 Oct 2012 15:21:56 +0000 Subject: [PATCH] Silence warning about && in ||. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166391 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Option.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } -- 2.40.0