]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/clang/include/clang/module.modulemap
Merge llvm-project main llvmorg-15-init-17485-ga3e38b4a206b
[FreeBSD/FreeBSD.git] / contrib / llvm-project / 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   // FIXME: Exclude these headers to avoid pulling all of the AST matchers
10   // library into clang. Due to inline key functions in the headers,
11   // importing the AST matchers library gives a link dependency on the AST
12   // matchers (and thus the AST), which clang-format should not have.
13   exclude header "Analysis/Analyses/ExprMutationAnalyzer.h"
14 }
15
16 module Clang_AST {
17   requires cplusplus
18   umbrella "AST"
19
20   textual header "AST/BuiltinTypes.def"
21   textual header "AST/CXXRecordDeclDefinitionBits.def"
22   textual header "AST/OperationKinds.def"
23   textual header "AST/TypeLocNodes.def"
24
25   module * { export * }
26 }
27
28 module Clang_ASTMatchers { requires cplusplus umbrella "ASTMatchers" module * { export * } }
29
30 module Clang_Basic {
31   requires cplusplus
32   umbrella "Basic"
33
34   textual header "Basic/AArch64SVEACLETypes.def"
35   textual header "Basic/BuiltinsAArch64.def"
36   textual header "Basic/BuiltinsAMDGPU.def"
37   textual header "Basic/BuiltinsAArch64NeonSVEBridge.def"
38   textual header "Basic/BuiltinsAArch64NeonSVEBridge_cg.def"
39   textual header "Basic/BuiltinsARM.def"
40   textual header "Basic/BuiltinsBPF.def"
41   textual header "Basic/Builtins.def"
42   textual header "Basic/BuiltinsHexagon.def"
43   textual header "Basic/BuiltinsHexagonDep.def"
44   textual header "Basic/BuiltinsHexagonMapCustomDep.def"
45   textual header "Basic/BuiltinsMips.def"
46   textual header "Basic/BuiltinsNEON.def"
47   textual header "Basic/BuiltinsNVPTX.def"
48   textual header "Basic/BuiltinsPPC.def"
49   textual header "Basic/BuiltinsRISCV.def"
50   textual header "Basic/BuiltinsRISCVVector.def"
51   textual header "Basic/BuiltinsSVE.def"
52   textual header "Basic/BuiltinsSystemZ.def"
53   textual header "Basic/BuiltinsVE.def"
54   textual header "Basic/BuiltinsVEVL.gen.def"
55   textual header "Basic/BuiltinsWebAssembly.def"
56   textual header "Basic/BuiltinsX86.def"
57   textual header "Basic/BuiltinsX86_64.def"
58   textual header "Basic/BuiltinsXCore.def"
59   textual header "Basic/CodeGenOptions.def"
60   textual header "Basic/DiagnosticOptions.def"
61   textual header "Basic/Features.def"
62   textual header "Basic/FPOptions.def"
63   textual header "Basic/MSP430Target.def"
64   textual header "Basic/LangOptions.def"
65   textual header "Basic/OpenCLExtensions.def"
66   textual header "Basic/OpenCLImageTypes.def"
67   textual header "Basic/OpenCLExtensionTypes.def"
68   textual header "Basic/OpenMPKinds.def"
69   textual header "Basic/OperatorKinds.def"
70   textual header "Basic/PPCTypes.def"
71   textual header "Basic/RISCVVTypes.def"
72   textual header "Basic/Sanitizers.def"
73   textual header "Basic/TargetCXXABI.def"
74
75   module * { export * }
76 }
77 module Clang_Basic_TokenKinds {
78   requires cplusplus
79
80   header "Basic/TokenKinds.h"
81   textual header "Basic/TokenKinds.def"
82
83   export *
84 }
85
86 module Clang_CodeGen { requires cplusplus umbrella "CodeGen" module * { export * } }
87 module Clang_Config { requires cplusplus umbrella "Config" module * { export * } }
88
89 // Files for diagnostic groups are spread all over the include/clang/ tree, but
90 // logically form a single module.
91 module Clang_Diagnostics {
92   requires cplusplus
93
94   module All { header "Basic/AllDiagnostics.h" export * }
95   module Analysis { header "Analysis/AnalysisDiagnostic.h" export * }
96   module AST { header "AST/ASTDiagnostic.h" export * }
97   module Comment { header "AST/CommentDiagnostic.h" export * }
98   module Driver { header "Driver/DriverDiagnostic.h" export * }
99   module Frontend { header "Frontend/FrontendDiagnostic.h" export * }
100   module Lex { header "Lex/LexDiagnostic.h" export * }
101   module Parse { header "Parse/ParseDiagnostic.h" export * }
102   module Sema { header "Sema/SemaDiagnostic.h" export * }
103   module Serialization { header "Serialization/SerializationDiagnostic.h" export * }
104   module Refactoring { header "Tooling/Refactoring/RefactoringDiagnostic.h" export * }
105 }
106
107 module Clang_Driver {
108   requires cplusplus
109   umbrella "Driver"
110
111   textual header "Driver/Types.def"
112
113   module * { export * }
114 }
115
116 module Clang_Edit { requires cplusplus umbrella "Edit" module * { export * } }
117 module Clang_Format { requires cplusplus umbrella "Format" module * { export * } }
118
119 module Clang_Frontend {
120   requires cplusplus
121   umbrella "Frontend"
122
123   textual header "Basic/LangStandards.def"
124
125   module * { export * }
126 }
127
128 module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
129 module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
130 module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }
131 module Clang_Parse { requires cplusplus umbrella "Parse" module * { export * } }
132 module Clang_Rewrite { requires cplusplus umbrella "Rewrite/Core" module * { export * } }
133 module Clang_RewriteFrontend { requires cplusplus umbrella "Rewrite/Frontend" module * { export * } }
134 module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } }
135
136 module Clang_Serialization {
137   requires cplusplus
138   umbrella "Serialization"
139
140   textual header "Serialization/TypeBitCodes.def"
141
142   module * { export * }
143 }
144
145 module Clang_StaticAnalyzer_Core {
146   requires cplusplus
147   umbrella "StaticAnalyzer/Core"
148
149   textual header "StaticAnalyzer/Core/Analyses.def"
150   textual header "StaticAnalyzer/Core/AnalyzerOptions.def"
151   textual header "StaticAnalyzer/Core/PathSensitive/SVals.def"
152   textual header "StaticAnalyzer/Core/PathSensitive/Symbols.def"
153   textual header "StaticAnalyzer/Core/PathSensitive/Regions.def"
154
155   module * { export * }
156 }
157
158 module Clang_StaticAnalyzer_Checkers {
159   requires cplusplus
160   umbrella "StaticAnalyzer/Checkers"
161   module * { export * }
162 }
163
164 module Clang_StaticAnalyzer_Frontend {
165   requires cplusplus
166   umbrella "StaticAnalyzer/Frontend"
167   module * { export * }
168 }
169
170 module Clang_Testing {
171   requires cplusplus
172   umbrella "Testing"
173   module * { export * }
174 }
175
176 module Clang_Tooling {
177   requires cplusplus umbrella "Tooling" module * { export * }
178   // FIXME: Exclude these headers to avoid pulling all of the AST matchers
179   // library into clang-format. Due to inline key functions in the headers,
180   // importing the AST matchers library gives a link dependency on the AST
181   // matchers (and thus the AST), which clang-format should not have.
182   exclude header "Tooling/RefactoringCallbacks.h"
183 }
184
185 module Clang_ToolingCore {
186   requires cplusplus
187   umbrella "Tooling/Core" module * { export * }
188 }
189
190 module Clang_ToolingInclusions {
191   requires cplusplus
192   umbrella "Tooling/Inclusions"
193   textual header "Tooling/Inclusions/CSymbolMap.inc"
194   textual header "Tooling/Inclusions/StdSymbolMap.inc"
195   module * { export * }
196 }