[llvm-nm] Prefer empty() over size() == 0.

Thanks to David Blaikie for pointing this out!

llvm-svn: 259938
This commit is contained in:
Davide Italiano 2016-02-05 22:10:42 +00:00
parent d535365794
commit da57013776
1 changed files with 1 additions and 1 deletions

View File

@ -1267,7 +1267,7 @@ int main(int argc, char **argv) {
PrintAddress = false;
if (OutputFormat == sysv || SizeSort)
PrintSize = true;
if (InputFilenames.size() == 0)
if (InputFilenames.empty())
InputFilenames.push_back("a.out");
if (InputFilenames.size() > 1)
MultipleFiles = true;