diff options
author | Manman Ren <manman.ren@gmail.com> | 2016-10-21 23:27:37 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2016-10-21 23:27:37 +0000 |
commit | c2d70a3098bf78d67d8ab64f21b2e6a730f9250b (patch) | |
tree | c6f63c981bbcbb8f01c612d9ae0de3898f6da0fc /include/clang/Basic/DiagnosticLexKinds.td | |
parent | 58d59d4b68ffc5f9d77868720917effa21d096df (diff) | |
download | clang-c2d70a3098bf78d67d8ab64f21b2e6a730f9250b.tar.gz |
Module: improve the diagnostic message for include of non-modular header.
Emit the actual path to the non-modular include.
rdar://28897010
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticLexKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 604d51db1f..fa5aa0e7da 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -659,10 +659,10 @@ def warn_use_of_private_header_outside_module : Warning< def err_undeclared_use_of_module : Error< "module %0 does not depend on a module exporting '%1'">; def warn_non_modular_include_in_framework_module : Warning< - "include of non-modular header inside framework module '%0'">, + "include of non-modular header inside framework module '%0': '%1'">, InGroup<NonModularIncludeInFrameworkModule>, DefaultIgnore; def warn_non_modular_include_in_module : Warning< - "include of non-modular header inside module '%0'">, + "include of non-modular header inside module '%0': '%1'">, InGroup<NonModularIncludeInModule>, DefaultIgnore; def warn_module_conflict : Warning< "module '%0' conflicts with already-imported module '%1': %2">, |