summaryrefslogtreecommitdiff
path: root/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-05-08 18:09:29 +0000
committerBen Langmuir <blangmuir@apple.com>2014-05-08 18:09:29 +0000
commit1a04a9333b50322b95cef6d68cfef400263dbb24 (patch)
treeb644343af6b1c62070f412cb4445990dba352266 /lib/Lex/ModuleMap.cpp
parent1dd39317b8687dbe5404ca009321eeda3331d5e6 (diff)
downloadclang-1a04a9333b50322b95cef6d68cfef400263dbb24.tar.gz
clang-1a04a9333b50322b95cef6d68cfef400263dbb24.tar.bz2
clang-1a04a9333b50322b95cef6d68cfef400263dbb24.tar.xz
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 'lib/Lex/ModuleMap.cpp')
-rw-r--r--lib/Lex/ModuleMap.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Lex/ModuleMap.cpp b/lib/Lex/ModuleMap.cpp
index f89d91d056..ce2c4f02e3 100644
--- a/lib/Lex/ModuleMap.cpp
+++ b/lib/Lex/ModuleMap.cpp
@@ -310,8 +310,6 @@ void ModuleMap::diagnoseHeaderInclusion(Module *RequestingModule,
diag::warn_non_modular_include_in_framework_module :
diag::warn_non_modular_include_in_module;
Diags.Report(FilenameLoc, DiagID) << RequestingModule->getFullModuleName();
- } else {
- Diags.Report(FilenameLoc, diag::warn_non_modular_include);
}
}