[cfe-commits] r51836 - /cfe/trunk/lib/CodeGen/CGObjCGNU.cpp

Anton Korobeynikov asl at math.spbu.ru
Sun Jun 1 08:14:46 PDT 2008


Author: asl
Date: Sun Jun  1 10:14:46 2008
New Revision: 51836

URL: http://llvm.org/viewvc/llvm-project?rev=51836&view=rev
Log:
Remove spurious == 0

Modified:
    cfe/trunk/lib/CodeGen/CGObjCGNU.cpp

Modified: cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCGNU.cpp?rev=51836&r1=51835&r2=51836&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCGNU.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCGNU.cpp Sun Jun  1 10:14:46 2008
@@ -732,7 +732,7 @@
   // 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;





More information about the cfe-commits mailing list