From 9e2f6284bc81e8a8b0bbe22c8e8c8c0b0b52ef74 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 12 Aug 2010 23:46:28 +0000 Subject: [PATCH] Use .empty() instead of .size(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110981 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/PassManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index acdeea3f2ac..a331253a330 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -737,7 +737,7 @@ void PMDataManager::recordAvailableAnalysis(Pass *P) { AvailableAnalysis[PI] = P; - assert(AvailableAnalysis.size()); + assert(!AvailableAnalysis.empty()); //This pass is the current implementation of all of the interfaces it //implements as well. -- 2.34.1