Use empty() instead of comparing size() with zero.

llvm-svn: 46514
This commit is contained in:
Dan Gohman committed 2008-01-29 13:02:09 +00:00
1 parent cf8827a282
commit 70de4cb1cd
17 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -1327,7 +1327,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
}
case bitc::FUNC_CODE_INST_RET: // RET: [opty,opval<optional>]
if (Record.size() == 0) {
if (Record.empty()) {
I = new ReturnInst();
break;
} else {