]> granicus.if.org Git - clang/commitdiff
Turn on the uncovered umbrella header warning by default
authorBen Langmuir <blangmuir@apple.com>
Mon, 10 Mar 2014 22:34:23 +0000 (22:34 +0000)
committerBen Langmuir <blangmuir@apple.com>
Mon, 10 Mar 2014 22:34:23 +0000 (22:34 +0000)
This warning (under -Wincomplete-umbrella) diagnoses cases that are
difficult to understand without the compiler's help, since the symptom
is likely to be that you are missing the contents of headers that are
mistakenly omitted from a module.  This seems like a good thing to have
on by default (with the usual caveat for -Wsystem-headers).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203506 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticLexKinds.td

index 16ac94f3d1308b2b3a3d59be7e2472336d20ec59..183074340f2f3111a134eeb759e4a7e88251ef4b 100644 (file)
@@ -606,7 +606,7 @@ def warn_auto_module_import : Warning<
   "import of module '%1'">, InGroup<AutoImport>, DefaultIgnore;
 def warn_uncovered_module_header : Warning<
   "umbrella header for module '%0' does not include header '%1'">, 
-  InGroup<IncompleteUmbrella>, DefaultIgnore;
+  InGroup<IncompleteUmbrella>;
 def warn_forgotten_module_header : Warning<
   "header '%0' is included in module '%1' but not listed in module map">,
   InGroup<IncompleteModule>, DefaultIgnore;