projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d375454
)
Fix gcc warning.
author
Eli Friedman
<eli.friedman@gmail.com>
Thu, 30 Jul 2009 00:11:31 +0000
(
00:11
+0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Thu, 30 Jul 2009 00:11:31 +0000
(
00:11
+0000)
llvm-svn: 77555
clang/lib/Index/Analyzer.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Index/Analyzer.cpp
b/clang/lib/Index/Analyzer.cpp
index
1f37a06
..
1dd2178
100644
(file)
--- 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();