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
/
TableGen
/
TGParser.cpp
diff --git
a/lib/TableGen/TGParser.cpp
b/lib/TableGen/TGParser.cpp
index a438cb6fc8f2c16bcc09d143a26508ba6b770671..2445e58e1b9cfd9c14959352a7dc87788dd0be01 100644
(file)
--- a/
lib/TableGen/TGParser.cpp
+++ b/
lib/TableGen/TGParser.cpp
@@
-1676,7
+1676,7
@@
std::vector<Init*> TGParser::ParseValueList(Record *CurRec, Record *ArgsRec,
unsigned int ArgN = 0;
if (ArgsRec && !EltTy) {
const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs();
- if (
!TArgs.size
()) {
+ if (
TArgs.empty
()) {
TokError("template argument provided to non-template class");
return std::vector<Init*>();
}