r224433 - Disable the keyword-as-macro warning for now until the noise level is
Joerg Sonnenberger
joerg at bec.de
Wed Dec 17 08:25:45 PST 2014
Author: joerg
Date: Wed Dec 17 10:25:45 2014
New Revision: 224433
URL: http://llvm.org/viewvc/llvm-project?rev=224433&view=rev
Log:
Disable the keyword-as-macro warning for now until the noise level is
reduced.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td?rev=224433&r1=224432&r2=224433&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td Wed Dec 17 10:25:45 2014
@@ -290,8 +290,9 @@ def note_pp_ambiguous_macro_chosen : Not
"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 '\\'">;
More information about the cfe-commits
mailing list