mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 10:36:06 +00:00
Change (!list.size() == 0) to (!list.empty()). No functional change.
llvm-svn: 165812
This commit is contained in:
parent
f20d90582f
commit
2448969d7f
@ -299,7 +299,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
const OperandInfoMapTy &OpInfo,
|
||||
raw_ostream &OS) {
|
||||
int MinOperands = 0;
|
||||
if (!Inst.Operands.size() == 0)
|
||||
if (!Inst.Operands.empty())
|
||||
// Each logical operand can be multiple MI operands.
|
||||
MinOperands = Inst.Operands.back().MIOperandNo +
|
||||
Inst.Operands.back().MINumOperands;
|
||||
|
Loading…
x
Reference in New Issue
Block a user