diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-03-03 22:19:15 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-03-03 22:19:15 +0000 |
commit | 268bc8c1f3a27d2fbd73c3115e4d633d31422ca5 (patch) | |
tree | 49ce5c0faf663644d1afdd119062494d4973ec94 /include/clang/Basic | |
parent | f4c00ffdfdaacf0e3f664e5b535191a9efa1443a (diff) |
Implement an important missing warning when a selector
is searched for in the global pool. It already uncovered
a clang bug in message selection.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.def b/include/clang/Basic/DiagnosticSemaKinds.def index f1495a2ef4..6c635dae58 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.def +++ b/include/clang/Basic/DiagnosticSemaKinds.def @@ -1454,3 +1454,5 @@ DIAG(error_private_ivar_access, ERROR, "instance variable %0 is private") DIAG(error_protected_ivar_access, ERROR, "instance variable %0 is protected") +DIAG(warn_maynot_respond, WARNING, + "%0 may not respond to %1") |