]> granicus.if.org Git - clang/commitdiff
implement -Wno-#warnings etc.
authorChris Lattner <sabre@nondot.org>
Thu, 16 Apr 2009 03:27:53 +0000 (03:27 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 Apr 2009 03:27:53 +0000 (03:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69259 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticLexKinds.td

index 0ae3b3f8b3367fccf173b7e54d2ac8c1cecd0a2c..32ce9e383eb838d65980c8d84e2fb6bdf008076f 100644 (file)
@@ -84,7 +84,7 @@ def warn_hex_escape_too_large : ExtWarn<"hex escape sequence out of range">;
 //===----------------------------------------------------------------------===//
 // Preprocessor Diagnostics
 //===----------------------------------------------------------------------===//
-def pp_hash_warning : Warning<"#warning%0">;
+def pp_hash_warning : Warning<"#warning%0">, InGroup<DiagGroup<"#warnings">>;
 def pp_include_next_in_primary : Warning<
   "#include_next in primary source file">;
 def pp_include_macros_out_of_predefines : Error<