diff options
author | Steve Naroff <snaroff@apple.com> | 2009-02-22 19:35:57 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-02-22 19:35:57 +0000 |
commit | 0de21fd85d79bccd32f04256f5b3328ab5ed7c95 (patch) | |
tree | c57169d2b2650b72d82498056d70a1147541a22a /include/clang/Basic | |
parent | 66b41512466db9a4b2859db517692fb79dae449e (diff) |
Contains the following (related to problems found while investigting <rdar://problem/6497631> Message lookup is sometimes different than gcc's).
- Implement instance/class overloading in ObjCContainerDecl (removing a FIXME). This involved hacking NamedDecl::declarationReplaces(), which took awhile to figure out (didn't realize replace was the default).
- Changed Sema::ActOnInstanceMessage() to remove redundant warnings when dealing with protocols. For now, I've omitted the "protocol" term in the diagnostic. It simplifies the code flow and wan't always 100% accurate (e.g. "Foo<Prot>" looks in the class interface, not just the protocol).
- Changed several test cases to jive with the above changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.def | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.def b/include/clang/Basic/DiagnosticSemaKinds.def index fb9f36399b..2549df6b93 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.def +++ b/include/clang/Basic/DiagnosticSemaKinds.def @@ -916,8 +916,6 @@ DIAG(error_no_super_class, ERROR, "no super class declared in @interface for %0") DIAG(err_invalid_receiver_to_message, ERROR, "invalid receiver to message expression") -DIAG(warn_method_not_found_in_protocol, WARNING, - "method %objcinstance0 not found in protocol (return type defaults to 'id')") DIAG(error_bad_receiver_type, ERROR, "bad receiver type %0") DIAG(error_objc_throw_expects_object, ERROR, |