forked from OSchip/llvm-project
Turn on the uncovered umbrella header warning by default
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). llvm-svn: 203506
This commit is contained in:
parent
a667875fb9
commit
3fd7a63d67
|
@ -606,7 +606,7 @@ def warn_auto_module_import : Warning<
|
||||||
"import of module '%1'">, InGroup<AutoImport>, DefaultIgnore;
|
"import of module '%1'">, InGroup<AutoImport>, DefaultIgnore;
|
||||||
def warn_uncovered_module_header : Warning<
|
def warn_uncovered_module_header : Warning<
|
||||||
"umbrella header for module '%0' does not include header '%1'">,
|
"umbrella header for module '%0' does not include header '%1'">,
|
||||||
InGroup<IncompleteUmbrella>, DefaultIgnore;
|
InGroup<IncompleteUmbrella>;
|
||||||
def warn_forgotten_module_header : Warning<
|
def warn_forgotten_module_header : Warning<
|
||||||
"header '%0' is included in module '%1' but not listed in module map">,
|
"header '%0' is included in module '%1' but not listed in module map">,
|
||||||
InGroup<IncompleteModule>, DefaultIgnore;
|
InGroup<IncompleteModule>, DefaultIgnore;
|
||||||
|
|
Loading…
Reference in New Issue