From: Joerg Sonnenberger Date: Wed, 17 Dec 2014 16:25:45 +0000 (+0000) Subject: Disable the keyword-as-macro warning for now until the noise level is X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f42c566be879770a6684a6a708c12d613e13ca8;p=platform%2Fupstream%2Fllvm.git Disable the keyword-as-macro warning for now until the noise level is reduced. llvm-svn: 224433 --- 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 '\\'">;