[cfe-commits] r89453 - /cfe/trunk/lib/Analysis/BasicObjCFoundationChecks.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Nov 20 02:03:07 PST 2009


Author: d0k
Date: Fri Nov 20 04:03:00 2009
New Revision: 89453

URL: http://llvm.org/viewvc/llvm-project?rev=89453&view=rev
Log:
Fix typo GCC 4.3 warned about.

Modified:
    cfe/trunk/lib/Analysis/BasicObjCFoundationChecks.cpp

Modified: cfe/trunk/lib/Analysis/BasicObjCFoundationChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/BasicObjCFoundationChecks.cpp?rev=89453&r1=89452&r2=89453&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/BasicObjCFoundationChecks.cpp (original)
+++ cfe/trunk/lib/Analysis/BasicObjCFoundationChecks.cpp Fri Nov 20 04:03:00 2009
@@ -556,7 +556,7 @@
     return;
   
   Selector S = ME->getSelector();
-  if (!(S == releaseS || S == retainS || S == autoreleaseS | S == drainS))
+  if (!(S == releaseS || S == retainS || S == autoreleaseS || S == drainS))
     return;
   
   if (!BT)





More information about the cfe-commits mailing list