[llvm-commits] [llvm] r110981 - /llvm/trunk/lib/VMCore/PassManager.cpp
Dan Gohman
gohman at apple.com
Thu Aug 12 16:46:28 PDT 2010
Author: djg
Date: Thu Aug 12 18:46:28 2010
New Revision: 110981
URL: http://llvm.org/viewvc/llvm-project?rev=110981&view=rev
Log:
Use .empty() instead of .size().
Modified:
llvm/trunk/lib/VMCore/PassManager.cpp
Modified: llvm/trunk/lib/VMCore/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/PassManager.cpp?rev=110981&r1=110980&r2=110981&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassManager.cpp (original)
+++ llvm/trunk/lib/VMCore/PassManager.cpp Thu Aug 12 18:46:28 2010
@@ -737,7 +737,7 @@
AvailableAnalysis[PI] = P;
- assert(AvailableAnalysis.size());
+ assert(!AvailableAnalysis.empty());
//This pass is the current implementation of all of the interfaces it
//implements as well.
More information about the llvm-commits
mailing list