diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2009-07-30 00:11:31 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2009-07-30 00:11:31 +0000 |
| commit | 13ddd8514f8a852ac6fbb008e1e0ef4f61cc6270 (patch) | |
| tree | 1b4d1b2a20644db534c38804110bcdd22a6e7b74 | |
| parent | d375454dcf33c1285e40d27b97137aadf1f49f01 (diff) | |
| download | bcm5719-llvm-13ddd8514f8a852ac6fbb008e1e0ef4f61cc6270.tar.gz bcm5719-llvm-13ddd8514f8a852ac6fbb008e1e0ef4f61cc6270.zip | |
Fix gcc warning.
llvm-svn: 77555
| -rw-r--r-- | clang/lib/Index/Analyzer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Index/Analyzer.cpp b/clang/lib/Index/Analyzer.cpp index 1f37a066428..1dd2178ad4e 100644 --- a/clang/lib/Index/Analyzer.cpp +++ b/clang/lib/Index/Analyzer.cpp @@ -363,8 +363,8 @@ public: 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(); |

