projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace size method call of containers to empty method where appropriate
[oota-llvm.git]
/
lib
/
CodeGen
/
SelectionDAG
/
TargetLowering.cpp
diff --git
a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 72e0aca8408043a9739449a1946d74348f9c4986..a1f425eeac114833bda9ec30bcf1ac10602b206e 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@
-2340,7
+2340,7
@@
TargetLowering::AsmOperandInfoVector TargetLowering::ParseConstraints(
}
// If we have multiple alternative constraints, select the best alternative.
- if (
ConstraintOperands.size
()) {
+ if (
!ConstraintOperands.empty
()) {
if (maCount) {
unsigned bestMAIndex = 0;
int bestWeight = -1;