From: Fariborz Jahanian Date: Wed, 17 Jun 2009 00:06:21 +0000 (+0000) Subject: Place -Wreadonly-setter-attrs under -Wmost option group. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fe5ffd005953bc1208267127b00d6be71a44ca6;p=clang Place -Wreadonly-setter-attrs under -Wmost option group. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73585 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td index 186e4408fe..ef16b4e69e 100644 --- a/include/clang/Basic/DiagnosticGroups.td +++ b/include/clang/Basic/DiagnosticGroups.td @@ -93,6 +93,7 @@ def UnusedLabel : DiagGroup<"unused-label">; def UnusedParameter : DiagGroup<"unused-parameter">; def UnusedValue : DiagGroup<"unused-value">; def UnusedVariable : DiagGroup<"unused-variable">; +def ReadOnlySetterAttrs : DiagGroup<"readonly-setter-attrs">; def UndeclaredSelector : DiagGroup<"undeclared-selector">; def : DiagGroup<"variadic-macros">; def VectorConversions : DiagGroup<"vector-conversions">; // clang specific @@ -131,6 +132,7 @@ def Most : DiagGroup<"most", [ UnusedVariable, VectorConversions, VolatileRegisterVar, + ReadOnlySetterAttrs, UndeclaredSelector ]>; diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index af94a1a331..9f554495b6 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -240,7 +240,7 @@ def error_duplicate_ivar_use : Error< def error_property_implemented : Error<"property %0 is already implemented">; def warn_objc_property_attr_mutually_exclusive : Warning< "property attributes '%0' and '%1' are mutually exclusive">, - InGroup>, DefaultIgnore; + InGroup, DefaultIgnore; def warn_undeclared_selector : Warning< "undeclared selector %0">, InGroup, DefaultIgnore;