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 | bebc467b2455fa35fec2258b5ae088759f1ee952 (patch) | |
tree | 8f363a1c386a47c9d49583dca838becf29cc1762 /lib/Index/Analyzer.cpp | |
parent | c238a79a97ad35227a28acf16028ab63127c2fb7 (diff) |
Fix gcc warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/Analyzer.cpp')
-rw-r--r-- | lib/Index/Analyzer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Index/Analyzer.cpp b/lib/Index/Analyzer.cpp index 1f37a06642..1dd2178ad4 100644 --- a/lib/Index/Analyzer.cpp +++ b/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(); |