From 21cac0e8902272cf32ce13ae745d608520e2cb1c Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Wed, 17 Dec 2014 16:25:45 +0000 Subject: Disable the keyword-as-macro warning for now until the noise level is reduced. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224433 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticLexKinds.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/clang/Basic/DiagnosticLexKinds.td') diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 65f9f77af4..13c6911b55 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/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 '\\'">; -- cgit v1.2.3