]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/clang/include/clang/module.modulemap
Merge clang 7.0.1 and several follow-up changes
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / clang / include / clang / module.modulemap
1 module Clang_Analysis {
2   requires cplusplus
3   umbrella "Analysis"
4
5   textual header "Analysis/Analyses/ThreadSafetyOps.def"
6
7   module * { export * }
8 }
9
10 module Clang_AST {
11   requires cplusplus
12   umbrella "AST"
13
14   textual header "AST/BuiltinTypes.def"
15   textual header "AST/OperationKinds.def"
16   textual header "AST/TypeLocNodes.def"
17   textual header "AST/TypeNodes.def"
18
19   module * { export * }
20 }
21
22 module Clang_ASTMatchers { requires cplusplus umbrella "ASTMatchers" module * { export * } }
23
24 module Clang_Basic {
25   requires cplusplus
26   umbrella "Basic"
27
28   textual header "Basic/BuiltinsAArch64.def"
29   textual header "Basic/BuiltinsAMDGPU.def"
30   textual header "Basic/BuiltinsARM.def"
31   textual header "Basic/Builtins.def"
32   textual header "Basic/BuiltinsHexagon.def"
33   textual header "Basic/BuiltinsLe64.def"
34   textual header "Basic/BuiltinsMips.def"
35   textual header "Basic/BuiltinsNEON.def"
36   textual header "Basic/BuiltinsNios2.def"
37   textual header "Basic/BuiltinsNVPTX.def"
38   textual header "Basic/BuiltinsPPC.def"
39   textual header "Basic/BuiltinsSystemZ.def"
40   textual header "Basic/BuiltinsWebAssembly.def"
41   textual header "Basic/BuiltinsX86.def"
42   textual header "Basic/BuiltinsX86_64.def"
43   textual header "Basic/BuiltinsXCore.def"
44   textual header "Basic/DiagnosticOptions.def"
45   textual header "Basic/Features.def"
46   textual header "Basic/LangOptions.def"
47   textual header "Basic/OpenCLExtensions.def"
48   textual header "Basic/OpenCLImageTypes.def"
49   textual header "Basic/OpenMPKinds.def"
50   textual header "Basic/OperatorKinds.def"
51   textual header "Basic/Sanitizers.def"
52   textual header "Basic/TokenKinds.def"
53   textual header "Basic/X86Target.def"
54
55   module * { export * }
56 }
57
58 module Clang_CodeGen { requires cplusplus umbrella "CodeGen" module * { export * } }
59 module Clang_Config { requires cplusplus umbrella "Config" module * { export * } }
60
61 // Files for diagnostic groups are spread all over the include/clang/ tree, but
62 // logically form a single module.
63 module Clang_Diagnostics {
64   requires cplusplus
65
66   module All { header "Basic/AllDiagnostics.h" export * }
67   module Analysis { header "Analysis/AnalysisDiagnostic.h" export * }
68   module AST { header "AST/ASTDiagnostic.h" export * }
69   module Comment { header "AST/CommentDiagnostic.h" export * }
70   module Driver { header "Driver/DriverDiagnostic.h" export * }
71   module Frontend { header "Frontend/FrontendDiagnostic.h" export * }
72   module Lex { header "Lex/LexDiagnostic.h" export * }
73   module Parse { header "Parse/ParseDiagnostic.h" export * }
74   module Sema { header "Sema/SemaDiagnostic.h" export * }
75   module Serialization { header "Serialization/SerializationDiagnostic.h" export * }
76   module Refactoring { header "Tooling/Refactoring/RefactoringDiagnostic.h" export * }
77 }
78
79 module Clang_Driver {
80   requires cplusplus
81   umbrella "Driver"
82
83   textual header "Driver/Types.def"
84
85   module * { export * }
86 }
87
88 module Clang_Edit { requires cplusplus umbrella "Edit" module * { export * } }
89 module Clang_Format { requires cplusplus umbrella "Format" module * { export * } }
90
91 module Clang_Frontend {
92   requires cplusplus
93   umbrella "Frontend"
94
95   textual header "Frontend/LangStandards.def"
96
97   module * { export * }
98
99   // FIXME: This violates layers.
100   exclude header "Frontend/PCHContainerOperations.h"
101 }
102
103 // Used in clangBasic
104 module Clang_Frontend_CodeGenOptions {
105   requires cplusplus
106   header "Frontend/CodeGenOptions.h"
107   textual header "Frontend/CodeGenOptions.def"
108   export *
109 }
110
111 module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
112 module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
113 module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }
114 module Clang_Parse { requires cplusplus umbrella "Parse" module * { export * } }
115 module Clang_Rewrite { requires cplusplus umbrella "Rewrite/Core" module * { export * } }
116 module Clang_RewriteFrontend { requires cplusplus umbrella "Rewrite/Frontend" module * { export * } }
117 module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } }
118 module Clang_Serialization { requires cplusplus umbrella "Serialization" module * { export * } }
119
120 module Clang_StaticAnalyzer_Core {
121   requires cplusplus
122   umbrella "StaticAnalyzer/Core"
123
124   textual header "StaticAnalyzer/Core/Analyses.def"
125   textual header "StaticAnalyzer/Core/PathSensitive/SVals.def"
126   textual header "StaticAnalyzer/Core/PathSensitive/Symbols.def"
127   textual header "StaticAnalyzer/Core/PathSensitive/Regions.def"
128
129   module * { export * }
130 }
131
132 module Clang_StaticAnalyzer_Checkers {
133   requires cplusplus
134   umbrella "StaticAnalyzer/Checkers"
135   module * { export * }
136 }
137
138 module Clang_StaticAnalyzer_Frontend {
139   requires cplusplus
140   umbrella "StaticAnalyzer/Frontend"
141   module * { export * }
142 }
143
144 module Clang_Tooling {
145   requires cplusplus umbrella "Tooling" module * { export * }
146   // FIXME: Exclude these headers to avoid pulling all of the AST matchers
147   // library into clang-format. Due to inline key functions in the headers,
148   // importing the AST matchers library gives a link dependency on the AST
149   // matchers (and thus the AST), which clang-format should not have.
150   exclude header "Tooling/RefactoringCallbacks.h"
151 }
152
153 module Clang_ToolingCore {
154   requires cplusplus
155   umbrella "Tooling/Core" module * { export * }
156 }
157
158 module Clang_ToolingInclusions {
159   requires cplusplus
160   umbrella "Tooling/Inclusions" module * { export * }
161 }