aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-07 02:23:45 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-07 02:23:45 +0000
commit587986efc5ca409da3ebf0a4ab7f72ebf50a3ab9 (patch)
tree27c2cb8c78eb99fa70b2d2fa8a855bbb8546e8d3 /include/clang
parent13eee196469596a107762606e5cea6511368a54c (diff)
Implement basic support for private headers in frameworks. In essence,
when we load a module map (module.map) from a directory, also load a private module map (module_private.map) for that directory, if present. That private module map can inject a new submodule that captures private headers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td
index 7c26aed042..2cf115d728 100644
--- a/include/clang/Basic/DiagnosticLexKinds.td
+++ b/include/clang/Basic/DiagnosticLexKinds.td
@@ -413,7 +413,11 @@ def err_mmap_expected_wildcard_member : Error<
"expected module export wildcard">;
def err_mmap_expected_export_wildcard : Error<
"only '*' can be exported from an inferred submodule">;
-
+def err_mmap_explicit_top_level : Error<
+ "'explicit' is not permitted on top-level modules">;
+def err_mmap_nested_submodule_id : Error<
+ "qualified module name can only be used to define modules at the top level">;
+
def warn_auto_module_import : Warning<
"treating #%select{include|import|include_next|__include_macros}0 as an "
"import of module '%1'">, InGroup<AutoImport>, DefaultIgnore;