projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ed8a1
)
Change (!list.size() == 0) to (!list.empty()). No functional change.
author
Richard Trieu
<rtrieu@google.com>
Fri, 12 Oct 2012 17:57:35 +0000
(17:57 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Fri, 12 Oct 2012 17:57:35 +0000
(17:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165812
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/InstrInfoEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/InstrInfoEmitter.cpp
b/utils/TableGen/InstrInfoEmitter.cpp
index 4e97cf4693b215835a336af87384479f0a0b6cf1..e447c16b16484042a00c508551dc9c0abafe5765 100644
(file)
--- a/
utils/TableGen/InstrInfoEmitter.cpp
+++ b/
utils/TableGen/InstrInfoEmitter.cpp
@@
-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;