]> granicus.if.org Git - clang/commitdiff
Remove spurious == 0
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 1 Jun 2008 15:14:46 +0000 (15:14 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 1 Jun 2008 15:14:46 +0000 (15:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51836 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCGNU.cpp

index ad38d9a8a4e05db353f15d00873f5f73824b59ea..31ca523807171d2715043a8ee94f2a0231476a58 100644 (file)
@@ -732,7 +732,7 @@ llvm::Function *CGObjCGNU::ModuleInitFunction() {
   // Only emit an ObjC load function if no Objective-C stuff has been called
   if (Classes.empty() && Categories.empty() && ConstantStrings.empty() &&
       ExistingProtocols.empty() && TypedSelectors.empty() &&
-      UntypedSelectors.empty() == 0)
+      UntypedSelectors.empty())
     return NULL;
   
   std::vector<llvm::Constant*> Elements;