]> granicus.if.org Git - clang/commitdiff
Add -Wundeclared-selector to -Wmost options group.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 16 Jun 2009 18:20:59 +0000 (18:20 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 16 Jun 2009 18:20:59 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73524 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticGroups.td

index d0b8ff65d01fb96e81cf6da2d96ddab76108fa5a..a004c730034110854dd3a82f8127f516b8cf4d34 100644 (file)
@@ -92,6 +92,7 @@ def UnusedLabel : DiagGroup<"unused-label">;
 def UnusedParameter : DiagGroup<"unused-parameter">;
 def UnusedValue    : DiagGroup<"unused-value">;
 def UnusedVariable : DiagGroup<"unused-variable">;
+def UndeclaredSelector : DiagGroup<"undeclared-selector">;
 def : DiagGroup<"variadic-macros">;
 def VectorConversions : DiagGroup<"vector-conversions">;      // clang specific
 def VolatileRegisterVar : DiagGroup<"volatile-register-var">;
@@ -128,7 +129,8 @@ def Most : DiagGroup<"most", [
     UnusedValue,
     UnusedVariable,
     VectorConversions,
-    VolatileRegisterVar
+    VolatileRegisterVar,
+    UndeclaredSelector
  ]>;
 
 // -Wall is -Wmost -Wparentheses