[cfe-commits] r77555 - /cfe/trunk/lib/Index/Analyzer.cpp

Eli Friedman eli.friedman at gmail.com
Wed Jul 29 17:11:31 PDT 2009


Author: efriedma
Date: Wed Jul 29 19:11:31 2009
New Revision: 77555

URL: http://llvm.org/viewvc/llvm-project?rev=77555&view=rev
Log:
Fix gcc warning.


Modified:
    cfe/trunk/lib/Index/Analyzer.cpp

Modified: cfe/trunk/lib/Index/Analyzer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Index/Analyzer.cpp?rev=77555&r1=77554&r2=77555&view=diff

==============================================================================
--- cfe/trunk/lib/Index/Analyzer.cpp (original)
+++ cfe/trunk/lib/Index/Analyzer.cpp Wed Jul 29 19:11:31 2009
@@ -363,8 +363,8 @@
     if (MsgIFaceEnt.isInvalid())
       return true;
 
-    if (!CanBeInstanceMethod && D->isInstanceMethod() ||
-        !CanBeClassMethod    && D->isClassMethod())
+    if ((!CanBeInstanceMethod && D->isInstanceMethod()) ||
+        (!CanBeClassMethod    && D->isClassMethod()))
       return false;
 
     ObjCInterfaceDecl *IFace = D->getClassInterface();





More information about the cfe-commits mailing list