xref: /llvm-project/clang/test/Modules/Inputs/System/usr/include/module.modulemap (revision a171d248ca34b8b6f8de11d42a83ad981285963a)
1*a171d248SMichael Spencermodule cstd [system] {
2*a171d248SMichael Spencer  // Only in compiler support directory
3*a171d248SMichael Spencer  module float_constants {
4*a171d248SMichael Spencer    header "float.h"
5*a171d248SMichael Spencer  }
6*a171d248SMichael Spencer
7*a171d248SMichael Spencer  // Only in system headers directory
8*a171d248SMichael Spencer  module stdio {
9*a171d248SMichael Spencer    header "stdio.h"
10*a171d248SMichael Spencer  }
11*a171d248SMichael Spencer
12*a171d248SMichael Spencer  // In both directories (compiler support version wins, does not forward)
13*a171d248SMichael Spencer  module stdbool {
14*a171d248SMichael Spencer    header "stdbool.h"
15*a171d248SMichael Spencer  }
16*a171d248SMichael Spencer
17*a171d248SMichael Spencer  // In both directories (compiler support version wins, forwards)
18*a171d248SMichael Spencer  module stdint {
19*a171d248SMichael Spencer    header "stdint.h"
20*a171d248SMichael Spencer  }
21*a171d248SMichael Spencer}
22*a171d248SMichael Spencer
23*a171d248SMichael Spencermodule other_constants {
24*a171d248SMichael Spencer  explicit module dbl_max {
25*a171d248SMichael Spencer    header "dbl_max.h"
26*a171d248SMichael Spencer  }
27*a171d248SMichael Spencer}
28*a171d248SMichael Spencer
29*a171d248SMichael Spencermodule uses_other_constants {
30*a171d248SMichael Spencer  header "uses_other_constants.h"
31*a171d248SMichael Spencer  export *
32*a171d248SMichael Spencer}
33*a171d248SMichael Spencer
34*a171d248SMichael Spencermodule Darwin {
35*a171d248SMichael Spencer  module C {
36*a171d248SMichael Spencer    module excluded {
37*a171d248SMichael Spencer      requires excluded
38*a171d248SMichael Spencer      header "assert.h"
39*a171d248SMichael Spencer    }
40*a171d248SMichael Spencer  }
41*a171d248SMichael Spencer}
42*a171d248SMichael Spencer
43*a171d248SMichael Spencermodule Tcl {
44*a171d248SMichael Spencer  module Private {
45*a171d248SMichael Spencer    requires excluded
46*a171d248SMichael Spencer    umbrella ""
47*a171d248SMichael Spencer  }
48*a171d248SMichael Spencer}
49*a171d248SMichael Spencer
50*a171d248SMichael Spencermodule IOKit {
51*a171d248SMichael Spencer  module avc {
52*a171d248SMichael Spencer    requires cplusplus
53*a171d248SMichael Spencer  }
54*a171d248SMichael Spencer}
55