From: Nick Lewycky Date: Fri, 24 Feb 2012 07:59:05 +0000 (+0000) Subject: ScheduleDAGInstrs.h:155: warning: suggest parentheses around `&&' within `||'. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aaad5f2b9a86982c3bc5198d404a1a8c850521cd;p=oota-llvm.git ScheduleDAGInstrs.h:155: warning: suggest parentheses around `&&' within `||'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151355 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/ScheduleDAGInstrs.h b/lib/CodeGen/ScheduleDAGInstrs.h index 1a9d1ea5789..c7ffed96b78 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.h +++ b/lib/CodeGen/ScheduleDAGInstrs.h @@ -152,7 +152,7 @@ namespace llvm { /// Otherwise map the register and return an empty SUnits vector. std::vector &operator[](unsigned Reg) { bool New = PhysRegSet.insert(Reg).second; - assert(!New || SUnits[Reg].empty() && "stale SUnits vector"); + assert((!New || SUnits[Reg].empty()) && "stale SUnits vector"); (void)New; return SUnits[Reg]; }