aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExprObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-03-04 23:00:40 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-03-04 23:00:40 +0000
commite61b988febb3409c294d2ec6b6f931f6f08f67b3 (patch)
tree57ef2facccbb54f6a6befe935ceb7134250f7d3b /lib/Sema/SemaExprObjC.cpp
parentd104a09d30ec35cb67931051d5d0c1ff2ee2d697 (diff)
Removed an unfortunate cut and paste left-over.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprObjC.cpp')
-rw-r--r--lib/Sema/SemaExprObjC.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaExprObjC.cpp b/lib/Sema/SemaExprObjC.cpp
index 9266e48a98..5c8b7b745d 100644
--- a/lib/Sema/SemaExprObjC.cpp
+++ b/lib/Sema/SemaExprObjC.cpp
@@ -417,8 +417,6 @@ Sema::ExprResult Sema::ActOnInstanceMessage(ExprTy *receiver, Selector Sel,
if (!Method) {
Method = LookupInstanceMethodInGlobalPool(
Sel, SourceRange(lbrac,rbrac));
- if (Method)
- Diag(receiverLoc, diag::warn_maynot_respond) << Sel;
}
}
}