]> granicus.if.org Git - clang/commitdiff
Disable the keyword-as-macro warning for now until the noise level is
authorJoerg Sonnenberger <joerg@bec.de>
Wed, 17 Dec 2014 16:25:45 +0000 (16:25 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Wed, 17 Dec 2014 16:25:45 +0000 (16:25 +0000)
reduced.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224433 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticLexKinds.td

index 65f9f77af49c3c18f7c61064c4cb3d1f8c06cd27..13c6911b55346b819e91dd577e0c08129e229be5 100644 (file)
@@ -290,8 +290,9 @@ def note_pp_ambiguous_macro_chosen : Note<
   "expanding this definition of %0">;
 def note_pp_ambiguous_macro_other : Note<
   "other definition of %0">;
+// FIXME: Remove DefaultIgnore after reducing noise level.
 def warn_pp_macro_hides_keyword : Extension<
-  "keyword is hidden by macro definition">, InGroup<KeywordAsMacro>;
+  "keyword is hidden by macro definition">, InGroup<KeywordAsMacro>, DefaultIgnore;
 
 def pp_invalid_string_literal : Warning<
   "invalid string literal, ignoring final '\\'">;