Skip to content

Commit 8b52299

Browse files
committed
Fix gcc Wparentheses warning. NFC.
1 parent 4859c46 commit 8b52299

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,9 +1706,8 @@ OperandMatcher &
17061706
InstructionMatcher::addOperand(unsigned OpIdx, const std::string &SymbolicName,
17071707
unsigned AllocatedTemporariesBaseID,
17081708
bool IsVariadic) {
1709-
assert(Operands.empty() ||
1710-
!Operands.back()->isVariadic() &&
1711-
"Cannot add more operands after a variadic operand");
1709+
assert((Operands.empty() || !Operands.back()->isVariadic()) &&
1710+
"Cannot add more operands after a variadic operand");
17121711
Operands.emplace_back(new OperandMatcher(
17131712
*this, OpIdx, SymbolicName, AllocatedTemporariesBaseID, IsVariadic));
17141713
if (!SymbolicName.empty())

0 commit comments

Comments
 (0)