aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-08-22 19:24:56 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-08-22 19:24:56 +0000
commit92eaacbccfa27837de0ee4749062cf91b8364508 (patch)
treeb2c6084a6a2514512a202f8c406a63ba45fe4a41 /include
parent6365e3e22bcec4b95c5b1ed47d501134b375a75a (diff)
Removed -Wundeclared-selector and -Wreadonly-setter-attrs from
-Wmost group (too noisy). Placed warning on parameter type misatch between methods in sub and super class under -Wsuper-class-method-mismatch (also too noisy). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Basic/DiagnosticGroups.td9
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td4
2 files changed, 8 insertions, 5 deletions
diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td
index 60719f1b4a..5a701078a0 100644
--- a/include/clang/Basic/DiagnosticGroups.td
+++ b/include/clang/Basic/DiagnosticGroups.td
@@ -97,6 +97,7 @@ def UnusedVariable : DiagGroup<"unused-variable">;
def ReadOnlySetterAttrs : DiagGroup<"readonly-setter-attrs">;
def Reorder : DiagGroup<"reorder">;
def UndeclaredSelector : DiagGroup<"undeclared-selector">;
+def SuperSubClassMismatch : DiagGroup<"super-class-method-mismatch">;
def : DiagGroup<"variadic-macros">;
def VectorConversions : DiagGroup<"vector-conversions">; // clang specific
def VolatileRegisterVar : DiagGroup<"volatile-register-var">;
@@ -137,9 +138,11 @@ def Most : DiagGroup<"most", [
UnusedVariable,
VectorConversions,
VolatileRegisterVar,
- ReadOnlySetterAttrs,
- Reorder,
- UndeclaredSelector
+ // FIXME. Too many errors (-Werror) in a key project.
+ // ReadOnlySetterAttrs,
+ Reorder
+ // FIXME. Too many errors (-Werror) in a key project.
+ // UndeclaredSelector
]>;
// -Wall is -Wmost -Wparentheses
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td
index 20862c3bfe..0a90af13c7 100644
--- a/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/include/clang/Basic/DiagnosticSemaKinds.td
@@ -2093,7 +2093,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<
+def ext_typecheck_base_super : Warning<
"method parameter type %0 does not match "
- "super class method parameter type %1">;
+ "super class method parameter type %1">, InGroup<SuperSubClassMismatch>, DefaultIgnore;
}