diff options
author | Ben Langmuir <blangmuir@apple.com> | 2014-05-08 18:09:29 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2014-05-08 18:09:29 +0000 |
commit | 1a04a9333b50322b95cef6d68cfef400263dbb24 (patch) | |
tree | b644343af6b1c62070f412cb4445990dba352266 /include/clang/Basic/DiagnosticLexKinds.td | |
parent | 1dd39317b8687dbe5404ca009321eeda3331d5e6 (diff) |
Remove -Wnon-modular-include
But keep -Wnon-modular-include-in-[framework-]module
This warning is too noisy and doesn't really indicate a problem for most
people. Even though it would only really affect people using
-Weverything, that seems bad so remove it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208345 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, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index abd386fc36..6240ce0705 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -626,8 +626,7 @@ def warn_non_modular_include_in_framework_module : Warning< def warn_non_modular_include_in_module : Warning< "include of non-modular header inside module '%0'">, InGroup<NonModularIncludeInModule>, DefaultIgnore; -def warn_non_modular_include : Warning< - "include of non-modular header">, InGroup<NonModularInclude>, DefaultIgnore; + def warn_header_guard : Warning< "%0 is used as a header guard here, followed by #define of a different macro">, |