summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2018-02-24 06:54:09 +0000
committerDaniel Jasper <djasper@google.com>2018-02-24 06:54:09 +0000
commit4ea330c8c37ca1cd7f1c60332452e252e335511c (patch)
tree9bbebae0183eba771cf6592229d849800d3871a3 /clang/test/Modules/Inputs
parent5dc6ca8e5bdc5552349989349718dd0fe7b05d6a (diff)
downloadbcm5719-llvm-4ea330c8c37ca1cd7f1c60332452e252e335511c.tar.gz
bcm5719-llvm-4ea330c8c37ca1cd7f1c60332452e252e335511c.zip
Make module use diagnostics refer to the top-level module
All use declarations need to be directly placed in the top-level module anyway, knowing the submodule doesn't really help. The header that has the offending #include can easily be seen in the diagnostics source location. Review: https://reviews.llvm.org/D43673 llvm-svn: 326023
Diffstat (limited to 'clang/test/Modules/Inputs')
-rw-r--r--clang/test/Modules/Inputs/declare-use/h.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/Inputs/declare-use/h.h b/clang/test/Modules/Inputs/declare-use/h.h
index 379e50180ca..8984727c565 100644
--- a/clang/test/Modules/Inputs/declare-use/h.h
+++ b/clang/test/Modules/Inputs/declare-use/h.h
@@ -1,7 +1,7 @@
#ifndef H_H
#define H_H
#include "c.h"
-#include "d.h" // expected-error {{does not depend on a module exporting}}
+#include "d.h" // expected-error {{module XH does not depend on a module exporting}}
#include "h1.h"
const int h1 = aux_h*c*7*d;
#endif
OpenPOWER on IntegriCloud