xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/Inputs/module.map (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambucmodule c_library [extern_c] { module inner { header "c-header.h" } }
2*0a6a1f1dSLionel Sambucmodule cxx_library { header "cxx-header.h" requires cplusplus }
3*0a6a1f1dSLionel Sambucmodule c_library_bad [extern_c] { header "c-header-bad.h" }
4f4a2713aSLionel Sambucmodule diamond_top { header "diamond_top.h" }
5f4a2713aSLionel Sambucmodule diamond_left {
6f4a2713aSLionel Sambuc  header "diamond_left.h"
7f4a2713aSLionel Sambuc  export diamond_top
8f4a2713aSLionel Sambuc}
9f4a2713aSLionel Sambucmodule diamond_right {
10f4a2713aSLionel Sambuc  header "diamond_right.h"
11f4a2713aSLionel Sambuc  export diamond_top
12f4a2713aSLionel Sambuc}
13f4a2713aSLionel Sambucmodule diamond_bottom {
14f4a2713aSLionel Sambuc  header "diamond_bottom.h"
15f4a2713aSLionel Sambuc  export *
16f4a2713aSLionel Sambuc}
17f4a2713aSLionel Sambucmodule irgen { header "irgen.h" }
18*0a6a1f1dSLionel Sambucmodule cxx_irgen_top { header "cxx-irgen-top.h" }
19*0a6a1f1dSLionel Sambucmodule cxx_irgen_left { header "cxx-irgen-left.h" }
20*0a6a1f1dSLionel Sambucmodule cxx_irgen_right { header "cxx-irgen-right.h" }
21f4a2713aSLionel Sambucmodule lookup_left_objc { header "lookup_left.h" }
22f4a2713aSLionel Sambucmodule lookup_right_objc { header "lookup_right.h" }
23f4a2713aSLionel Sambucmodule lookup_left_cxx { header "lookup_left.hpp" }
24f4a2713aSLionel Sambucmodule lookup_right_cxx { header "lookup_right.hpp" }
25f4a2713aSLionel Sambucmodule module_private_left { header "module_private_left.h" }
26f4a2713aSLionel Sambucmodule module_private_right { header "module_private_right.h" }
27f4a2713aSLionel Sambucmodule macros_top {
28f4a2713aSLionel Sambuc  header "macros_top.h"
29*0a6a1f1dSLionel Sambuc  explicit module b { header "macros_top_b.h" }
30*0a6a1f1dSLionel Sambuc  explicit module c { header "macros_top_c.h" }
31f4a2713aSLionel Sambuc}
32f4a2713aSLionel Sambucmodule macros_left {
33f4a2713aSLionel Sambuc  header "macros_left.h"
34f4a2713aSLionel Sambuc  export *
35f4a2713aSLionel Sambuc}
36f4a2713aSLionel Sambucmodule macros_right {
37f4a2713aSLionel Sambuc  header "macros_right.h"
38f4a2713aSLionel Sambuc  export *
39f4a2713aSLionel Sambuc  explicit module undef {
40f4a2713aSLionel Sambuc    header "macros_right_undef.h"
41f4a2713aSLionel Sambuc  }
42f4a2713aSLionel Sambuc}
43*0a6a1f1dSLionel Sambucmodule macros_bottom {
44*0a6a1f1dSLionel Sambuc  header "macros_bottom.h"
45*0a6a1f1dSLionel Sambuc  export *
46*0a6a1f1dSLionel Sambuc}
47f4a2713aSLionel Sambucmodule macros { header "macros.h" }
48*0a6a1f1dSLionel Sambucmodule macros_other { header "macros_other.h" }
49f4a2713aSLionel Sambucmodule category_top { header "category_top.h" }
50f4a2713aSLionel Sambucmodule category_left {
51f4a2713aSLionel Sambuc  header "category_left.h"
52f4a2713aSLionel Sambuc  export category_top
53f4a2713aSLionel Sambuc
54f4a2713aSLionel Sambuc  explicit module sub {
55f4a2713aSLionel Sambuc    header "category_left_sub.h"
56f4a2713aSLionel Sambuc  }
57f4a2713aSLionel Sambuc}
58f4a2713aSLionel Sambucmodule category_right {
59f4a2713aSLionel Sambuc  header "category_right.h"
60f4a2713aSLionel Sambuc  export category_top
61f4a2713aSLionel Sambuc
62f4a2713aSLionel Sambuc  explicit module sub {
63f4a2713aSLionel Sambuc    header "category_right_sub.h"
64f4a2713aSLionel Sambuc  }
65f4a2713aSLionel Sambuc}
66f4a2713aSLionel Sambucmodule category_bottom {
67f4a2713aSLionel Sambuc  header "category_bottom.h"
68f4a2713aSLionel Sambuc  export category_left
69f4a2713aSLionel Sambuc  export category_right
70f4a2713aSLionel Sambuc}
71f4a2713aSLionel Sambucmodule category_other { header "category_other.h" }
72f4a2713aSLionel Sambucmodule redeclarations_left { header "redeclarations_left.h" }
73f4a2713aSLionel Sambucmodule redeclarations_right { header "redeclarations_right.h" }
74f4a2713aSLionel Sambucmodule redecl_namespaces_left { header "redecl_namespaces_left.h" }
75f4a2713aSLionel Sambucmodule redecl_namespaces_right { header "redecl_namespaces_right.h" }
76*0a6a1f1dSLionel Sambucmodule redecl_add_after_load_top { header "redecl-add-after-load-top.h" }
77*0a6a1f1dSLionel Sambucmodule redecl_add_after_load_decls { header "redecl-add-after-load-decls.h" }
78*0a6a1f1dSLionel Sambucmodule redecl_add_after_load { header "redecl-add-after-load.h" }
79f4a2713aSLionel Sambucmodule load_failure { header "load_failure.h" }
80f4a2713aSLionel Sambuc
81f4a2713aSLionel Sambucmodule decldef {
82f4a2713aSLionel Sambuc  explicit module Decl { header "decl.h" }
83f4a2713aSLionel Sambuc  explicit module Decl2 { header "decl2.h" }
84f4a2713aSLionel Sambuc  explicit module Def { header "def.h" }
85f4a2713aSLionel Sambuc}
86f4a2713aSLionel Sambuc
87f4a2713aSLionel Sambucmodule redecl_merge_top {
88f4a2713aSLionel Sambuc  header "redecl-merge-top.h"
89f4a2713aSLionel Sambuc  explicit module Explicit { header "redecl-merge-top-explicit.h" }
90f4a2713aSLionel Sambuc  exclude header "nonexistent.h"
91f4a2713aSLionel Sambuc}
92f4a2713aSLionel Sambucmodule redecl_merge_left {
93f4a2713aSLionel Sambuc  header "redecl-merge-left.h"
94f4a2713aSLionel Sambuc  export *
95f4a2713aSLionel Sambuc}
96f4a2713aSLionel Sambucmodule redecl_merge_left_left {
97f4a2713aSLionel Sambuc  header "redecl-merge-left-left.h"
98f4a2713aSLionel Sambuc  export *
99f4a2713aSLionel Sambuc}
100f4a2713aSLionel Sambucmodule redecl_merge_right {
101f4a2713aSLionel Sambuc  header "redecl-merge-right.h"
102f4a2713aSLionel Sambuc  export *
103f4a2713aSLionel Sambuc}
104f4a2713aSLionel Sambucmodule redecl_merge_bottom {
105f4a2713aSLionel Sambuc  explicit module prefix {
106f4a2713aSLionel Sambuc    header "redecl-merge-bottom-prefix.h"
107f4a2713aSLionel Sambuc  }
108f4a2713aSLionel Sambuc
109f4a2713aSLionel Sambuc  header "redecl-merge-bottom.h"
110f4a2713aSLionel Sambuc  export *
111f4a2713aSLionel Sambuc}
112f4a2713aSLionel Sambucmodule namespaces_top {
113f4a2713aSLionel Sambuc  header "namespaces-top.h"
114f4a2713aSLionel Sambuc  export *
115f4a2713aSLionel Sambuc}
116f4a2713aSLionel Sambucmodule namespaces_left {
117f4a2713aSLionel Sambuc  header "namespaces-left.h"
118f4a2713aSLionel Sambuc  export *
119f4a2713aSLionel Sambuc}
120f4a2713aSLionel Sambucmodule namespaces_right {
121f4a2713aSLionel Sambuc  header "namespaces-right.h"
122f4a2713aSLionel Sambuc  export *
123f4a2713aSLionel Sambuc}
124f4a2713aSLionel Sambucmodule templates_top {
125f4a2713aSLionel Sambuc  header "templates-top.h"
126f4a2713aSLionel Sambuc  export *
127f4a2713aSLionel Sambuc}
128f4a2713aSLionel Sambucmodule templates_left {
129f4a2713aSLionel Sambuc  header "templates-left.h"
130f4a2713aSLionel Sambuc  export *
131f4a2713aSLionel Sambuc}
132f4a2713aSLionel Sambucmodule templates_right {
133f4a2713aSLionel Sambuc  header "templates-right.h"
134f4a2713aSLionel Sambuc  export *
135f4a2713aSLionel Sambuc}
136f4a2713aSLionel Sambucmodule MethodPoolA {
137f4a2713aSLionel Sambuc  header "MethodPoolA.h"
138f4a2713aSLionel Sambuc
139f4a2713aSLionel Sambuc  explicit module Sub2 {
140f4a2713aSLionel Sambuc    header "MethodPoolASub2.h"
141f4a2713aSLionel Sambuc  }
142f4a2713aSLionel Sambuc
143f4a2713aSLionel Sambuc  explicit module Sub {
144f4a2713aSLionel Sambuc    header "MethodPoolASub.h"
145f4a2713aSLionel Sambuc  }
146f4a2713aSLionel Sambuc}
147f4a2713aSLionel Sambucmodule MethodPoolB {
148f4a2713aSLionel Sambuc  header "MethodPoolB.h"
149f4a2713aSLionel Sambuc
150f4a2713aSLionel Sambuc  explicit module Sub2 {
151f4a2713aSLionel Sambuc    header "MethodPoolBSub2.h"
152f4a2713aSLionel Sambuc  }
153f4a2713aSLionel Sambuc
154f4a2713aSLionel Sambuc  explicit module Sub {
155f4a2713aSLionel Sambuc    header "MethodPoolBSub.h"
156f4a2713aSLionel Sambuc  }
157f4a2713aSLionel Sambuc}
158f4a2713aSLionel Sambucmodule import_decl {
159f4a2713aSLionel Sambuc  header "import-decl.h"
160f4a2713aSLionel Sambuc}
161f4a2713aSLionel Sambuc
162f4a2713aSLionel Sambucframework module * {
163f4a2713aSLionel Sambuc  exclude NotAModule
164f4a2713aSLionel Sambuc}
165f4a2713aSLionel Sambuc
166f4a2713aSLionel Sambucmodule linkage_merge_left {
167f4a2713aSLionel Sambuc  explicit module sub {
168f4a2713aSLionel Sambuc    header "linkage-merge-sub.h"
169f4a2713aSLionel Sambuc  }
170f4a2713aSLionel Sambuc}
171f4a2713aSLionel Sambuc
172f4a2713aSLionel Sambucmodule autolink {
173f4a2713aSLionel Sambuc  header "autolink.h"
174f4a2713aSLionel Sambuc  link "autolink"
175f4a2713aSLionel Sambuc
176f4a2713aSLionel Sambuc  explicit module sub {
177f4a2713aSLionel Sambuc    header "autolink-sub.h"
178f4a2713aSLionel Sambuc    link "autolink_sub"
179f4a2713aSLionel Sambuc  }
180f4a2713aSLionel Sambuc
181f4a2713aSLionel Sambuc  explicit module sub2 {
182f4a2713aSLionel Sambuc    header "autolink-sub2.h"
183f4a2713aSLionel Sambuc    link framework "autolink_framework"
184f4a2713aSLionel Sambuc  }
185*0a6a1f1dSLionel Sambuc
186*0a6a1f1dSLionel Sambuc  explicit module sub3 {
187*0a6a1f1dSLionel Sambuc    header "autolink-sub3.h"
188*0a6a1f1dSLionel Sambuc    link "autolink_from_pch"
189*0a6a1f1dSLionel Sambuc  }
190f4a2713aSLionel Sambuc}
191f4a2713aSLionel Sambuc
192f4a2713aSLionel Sambucmodule weird_objc {
193f4a2713aSLionel Sambuc  header "weird_objc.h"
194f4a2713aSLionel Sambuc}
195f4a2713aSLionel Sambuc
196f4a2713aSLionel Sambucmodule ignored_macros {
197f4a2713aSLionel Sambuc  header "ignored_macros.h"
198f4a2713aSLionel Sambuc}
199f4a2713aSLionel Sambuc
200f4a2713aSLionel Sambucmodule cxx_many_overloads {
201f4a2713aSLionel Sambuc  header "cxx-many-overloads.h"
202f4a2713aSLionel Sambuc}
203f4a2713aSLionel Sambuc
204f4a2713aSLionel Sambucmodule cxx_inline_namespace {
205f4a2713aSLionel Sambuc  header "cxx-inline-namespace.h"
206f4a2713aSLionel Sambuc}
207f4a2713aSLionel Sambuc
208*0a6a1f1dSLionel Sambucmodule cxx_inline_namespace_b {
209*0a6a1f1dSLionel Sambuc  header "cxx-inline-namespace-b.h"
210*0a6a1f1dSLionel Sambuc}
211*0a6a1f1dSLionel Sambuc
212f4a2713aSLionel Sambucmodule cxx_linkage_cache {
213f4a2713aSLionel Sambuc  header "cxx-linkage-cache.h"
214f4a2713aSLionel Sambuc}
215f4a2713aSLionel Sambuc
216f4a2713aSLionel Sambucmodule cxx_templates_common {
217f4a2713aSLionel Sambuc  header "cxx-templates-common.h"
218f4a2713aSLionel Sambuc}
219f4a2713aSLionel Sambuc
220f4a2713aSLionel Sambucmodule cxx_templates_a {
221f4a2713aSLionel Sambuc  header "cxx-templates-a.h"
222f4a2713aSLionel Sambuc}
223f4a2713aSLionel Sambuc
224f4a2713aSLionel Sambucmodule cxx_templates_b_impl {
225f4a2713aSLionel Sambuc  header "cxx-templates-b-impl.h"
226f4a2713aSLionel Sambuc}
227f4a2713aSLionel Sambuc
228f4a2713aSLionel Sambucmodule cxx_templates_b {
229f4a2713aSLionel Sambuc  header "cxx-templates-b.h"
230f4a2713aSLionel Sambuc}
231f4a2713aSLionel Sambuc
232f4a2713aSLionel Sambucmodule cxx_templates_c {
233f4a2713aSLionel Sambuc  header "cxx-templates-c.h"
234f4a2713aSLionel Sambuc}
235f4a2713aSLionel Sambuc
236*0a6a1f1dSLionel Sambucmodule cxx_templates_d {
237*0a6a1f1dSLionel Sambuc  header "cxx-templates-d.h"
238*0a6a1f1dSLionel Sambuc}
239*0a6a1f1dSLionel Sambuc
240f4a2713aSLionel Sambucmodule cxx_decls {
241f4a2713aSLionel Sambuc  module unimported {
242f4a2713aSLionel Sambuc    header "cxx-decls-unimported.h"
243f4a2713aSLionel Sambuc  }
244f4a2713aSLionel Sambuc  module imported {
245f4a2713aSLionel Sambuc    header "cxx-decls-imported.h"
246f4a2713aSLionel Sambuc  }
247f4a2713aSLionel Sambuc}
248f4a2713aSLionel Sambuc
249*0a6a1f1dSLionel Sambucmodule cxx_decls_premerged {
250*0a6a1f1dSLionel Sambuc  header "cxx-decls-premerged.h"
251*0a6a1f1dSLionel Sambuc}
252*0a6a1f1dSLionel Sambuc
253*0a6a1f1dSLionel Sambucmodule cxx_decls_merged {
254*0a6a1f1dSLionel Sambuc  header "cxx-decls-merged.h"
255*0a6a1f1dSLionel Sambuc}
256*0a6a1f1dSLionel Sambuc
257f4a2713aSLionel Sambucmodule config {
258f4a2713aSLionel Sambuc  header "config.h"
259f4a2713aSLionel Sambuc  config_macros [exhaustive] WANT_FOO, WANT_BAR
260f4a2713aSLionel Sambuc}
261f4a2713aSLionel Sambuc
262f4a2713aSLionel Sambucmodule diag_pragma {
263f4a2713aSLionel Sambuc  header "diag_pragma.h"
264f4a2713aSLionel Sambuc}
265f4a2713aSLionel Sambuc
266f4a2713aSLionel Sambucmodule dummy {
267f4a2713aSLionel Sambuc  header "dummy.h"
268f4a2713aSLionel Sambuc}
269f4a2713aSLionel Sambuc
270f4a2713aSLionel Sambucmodule builtin {
271f4a2713aSLionel Sambuc  header "builtin.h"
272f4a2713aSLionel Sambuc  explicit module sub {
273f4a2713aSLionel Sambuc    header "builtin_sub.h"
274f4a2713aSLionel Sambuc  }
275f4a2713aSLionel Sambuc}
276f4a2713aSLionel Sambuc
277f4a2713aSLionel Sambucmodule linkage_merge {
278f4a2713aSLionel Sambuc  explicit module foo {
279f4a2713aSLionel Sambuc    header "linkage-merge-foo.h"
280f4a2713aSLionel Sambuc  }
281f4a2713aSLionel Sambuc  explicit module bar {
282f4a2713aSLionel Sambuc    header "linkage-merge-bar.h"
283f4a2713aSLionel Sambuc  }
284f4a2713aSLionel Sambuc
285f4a2713aSLionel Sambuc}
286f4a2713aSLionel Sambuc
287f4a2713aSLionel Sambucmodule incomplete_mod {
288f4a2713aSLionel Sambuc  header "incomplete_mod.h"
289f4a2713aSLionel Sambuc}
290f4a2713aSLionel Sambuc
291f4a2713aSLionel Sambucmodule warning {
292f4a2713aSLionel Sambuc  header "warning.h"
293f4a2713aSLionel Sambuc}
294f4a2713aSLionel Sambuc
295*0a6a1f1dSLionel Sambucmodule warn_unused_local_typedef {
296*0a6a1f1dSLionel Sambuc  header "warn-unused-local-typedef.h"
297*0a6a1f1dSLionel Sambuc}
298*0a6a1f1dSLionel Sambuc
299f4a2713aSLionel Sambucmodule initializer_list {
300f4a2713aSLionel Sambuc  header "initializer_list"
301f4a2713aSLionel Sambuc}
302f4a2713aSLionel Sambuc
303f4a2713aSLionel Sambucmodule using_decl {
304f4a2713aSLionel Sambuc  module a { header "using-decl-a.h" export * }
305f4a2713aSLionel Sambuc  module b { header "using-decl-b.h" export * }
306f4a2713aSLionel Sambuc}
307f4a2713aSLionel Sambuc
308f4a2713aSLionel Sambucmodule recursive_visibility_a1 {
309f4a2713aSLionel Sambuc  module inner { header "recursive_visibility_a1_inner.h" }
310f4a2713aSLionel Sambuc}
311f4a2713aSLionel Sambucmodule recursive_visibility_a2 {
312f4a2713aSLionel Sambuc  module inner {
313f4a2713aSLionel Sambuc    module more_inner {
314f4a2713aSLionel Sambuc      header "recursive_visibility_a2_more_inner.h"
315f4a2713aSLionel Sambuc    }
316f4a2713aSLionel Sambuc  }
317f4a2713aSLionel Sambuc}
318f4a2713aSLionel Sambucmodule recursive_visibility_b {
319f4a2713aSLionel Sambuc  header "recursive_visibility_b.h"
320f4a2713aSLionel Sambuc  export *
321f4a2713aSLionel Sambuc}
322f4a2713aSLionel Sambucmodule recursive_visibility_c {
323f4a2713aSLionel Sambuc  header "recursive_visibility_c.h"
324f4a2713aSLionel Sambuc}
325*0a6a1f1dSLionel Sambucmodule recursive1 {
326*0a6a1f1dSLionel Sambuc  header "recursive1.h"
327*0a6a1f1dSLionel Sambuc}
328*0a6a1f1dSLionel Sambucmodule recursive2 {
329*0a6a1f1dSLionel Sambuc  header "recursive2.h"
330*0a6a1f1dSLionel Sambuc}
331