aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-08-04 01:07:16 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-08-04 01:07:16 +0000
commitdbdec8bcb5686cd34763db49488f77e88c43eb64 (patch)
tree3a851e2cd1bd7315b04ab517f689c3ebe9a606f0 /include/clang/Basic
parent8eec7c00e6e8e7243776d89c3897a48d354aecbf (diff)
Compare matching selectors in current and
super class(s) and warn on any parameter type mismatch if potentially unsafe. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td
index 5a7fbf4ff5..cdb79b4dc4 100644
--- a/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/include/clang/Basic/DiagnosticSemaKinds.td
@@ -2060,6 +2060,7 @@ def error_protected_ivar_access : Error<"instance variable %0 is protected">,
def warn_maynot_respond : Warning<"%0 may not respond to %1">;
def warn_attribute_method_def : Warning<
"method attribute can only be specified on method declarations">;
-
-
+def ext_typecheck_base_super : ExtWarn<
+ "method parameter type %0 does not match "
+ "super class method parameter type %1">;
}