From 1f42c566be879770a6684a6a708c12d613e13ca8 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Wed, 17 Dec 2014 16:25:45 +0000 Subject: [PATCH] Disable the keyword-as-macro warning for now until the noise level is reduced. llvm-svn: 224433 --- clang/include/clang/Basic/DiagnosticLexKinds.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Basic/DiagnosticLexKinds.td b/clang/include/clang/Basic/DiagnosticLexKinds.td index 65f9f77..13c6911 100644 --- a/clang/include/clang/Basic/DiagnosticLexKinds.td +++ b/clang/include/clang/Basic/DiagnosticLexKinds.td @@ -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; + "keyword is hidden by macro definition">, InGroup, DefaultIgnore; def pp_invalid_string_literal : Warning< "invalid string literal, ignoring final '\\'">; -- 2.7.4