From 1a04a9333b50322b95cef6d68cfef400263dbb24 Mon Sep 17 00:00:00 2001 From: Ben Langmuir Date: Thu, 8 May 2014 18:09:29 +0000 Subject: 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 --- lib/Lex/ModuleMap.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Lex/ModuleMap.cpp') 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); } } -- cgit v1.2.3