diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-12-17 16:25:45 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-12-17 16:25:45 +0000 |
commit | 21cac0e8902272cf32ce13ae745d608520e2cb1c (patch) | |
tree | 20636d9ec571ad8fd9ed96d54cf009da8233e185 /include/clang/Basic/DiagnosticLexKinds.td | |
parent | b78fa2bccbced475badaeb4e5f22b8c5e13a6f9f (diff) |
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
Diffstat (limited to 'include/clang/Basic/DiagnosticLexKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 3 |
1 files changed, 2 insertions, 1 deletions
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<KeywordAsMacro>; + "keyword is hidden by macro definition">, InGroup<KeywordAsMacro>, DefaultIgnore; def pp_invalid_string_literal : Warning< "invalid string literal, ignoring final '\\'">; |