]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/clang/include/clang/module.modulemap
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[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/BuiltinsARM.def"
38   textual header "Basic/BuiltinsBPF.def"
39   textual header "Basic/Builtins.def"
40   textual header "Basic/BuiltinsHexagon.def"
41   textual header "Basic/BuiltinsLe64.def"
42   textual header "Basic/BuiltinsMips.def"
43   textual header "Basic/BuiltinsNEON.def"
44   textual header "Basic/BuiltinsNVPTX.def"
45   textual header "Basic/BuiltinsPPC.def"
46   textual header "Basic/BuiltinsSystemZ.def"
47   textual header "Basic/BuiltinsWebAssembly.def"
48   textual header "Basic/BuiltinsX86.def"
49   textual header "Basic/BuiltinsX86_64.def"
50   textual header "Basic/BuiltinsXCore.def"
51   textual header "Basic/CodeGenOptions.def"
52   textual header "Basic/DiagnosticOptions.def"
53   textual header "Basic/Features.def"
54   textual header "Basic/MSP430Target.def"
55   textual header "Basic/LangOptions.def"
56   textual header "Basic/OpenCLExtensions.def"
57   textual header "Basic/OpenCLImageTypes.def"
58   textual header "Basic/OpenCLExtensionTypes.def"
59   textual header "Basic/OpenMPKinds.def"
60   textual header "Basic/OperatorKinds.def"
61   textual header "Basic/Sanitizers.def"
62   textual header "Basic/TokenKinds.def"
63   textual header "Basic/X86Target.def"
64
65   module * { export * }
66 }
67
68 module Clang_CodeGen { requires cplusplus umbrella "CodeGen" module * { export * } }
69 module Clang_Config { requires cplusplus umbrella "Config" module * { export * } }
70
71 // Files for diagnostic groups are spread all over the include/clang/ tree, but
72 // logically form a single module.
73 module Clang_Diagnostics {
74   requires cplusplus
75
76   module All { header "Basic/AllDiagnostics.h" export * }
77   module Analysis { header "Analysis/AnalysisDiagnostic.h" export * }
78   module AST { header "AST/ASTDiagnostic.h" export * }
79   module Comment { header "AST/CommentDiagnostic.h" export * }
80   module Driver { header "Driver/DriverDiagnostic.h" export * }
81   module Frontend { header "Frontend/FrontendDiagnostic.h" export * }
82   module Lex { header "Lex/LexDiagnostic.h" export * }
83   module Parse { header "Parse/ParseDiagnostic.h" export * }
84   module Sema { header "Sema/SemaDiagnostic.h" export * }
85   module Serialization { header "Serialization/SerializationDiagnostic.h" export * }
86   module Refactoring { header "Tooling/Refactoring/RefactoringDiagnostic.h" export * }
87 }
88
89 module Clang_Driver {
90   requires cplusplus
91   umbrella "Driver"
92
93   textual header "Driver/Types.def"
94
95   module * { export * }
96 }
97
98 module Clang_Edit { requires cplusplus umbrella "Edit" module * { export * } }
99 module Clang_Format { requires cplusplus umbrella "Format" module * { export * } }
100
101 module Clang_Frontend {
102   requires cplusplus
103   umbrella "Frontend"
104
105   textual header "Basic/LangStandards.def"
106
107   module * { export * }
108 }
109
110 module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
111 module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
112 module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }
113 module Clang_Parse { requires cplusplus umbrella "Parse" module * { export * } }
114 module Clang_Rewrite { requires cplusplus umbrella "Rewrite/Core" module * { export * } }
115 module Clang_RewriteFrontend { requires cplusplus umbrella "Rewrite/Frontend" module * { export * } }
116 module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } }
117
118 module Clang_Serialization {
119   requires cplusplus
120   umbrella "Serialization"
121
122   textual header "Serialization/TypeBitCodes.def"
123
124   module * { export * }
125 }
126
127 module Clang_StaticAnalyzer_Core {
128   requires cplusplus
129   umbrella "StaticAnalyzer/Core"
130
131   textual header "StaticAnalyzer/Core/Analyses.def"
132   textual header "StaticAnalyzer/Core/AnalyzerOptions.def"
133   textual header "StaticAnalyzer/Core/PathSensitive/SVals.def"
134   textual header "StaticAnalyzer/Core/PathSensitive/Symbols.def"
135   textual header "StaticAnalyzer/Core/PathSensitive/Regions.def"
136
137   module * { export * }
138 }
139
140 module Clang_StaticAnalyzer_Checkers {
141   requires cplusplus
142   umbrella "StaticAnalyzer/Checkers"
143   module * { export * }
144 }
145
146 module Clang_StaticAnalyzer_Frontend {
147   requires cplusplus
148   umbrella "StaticAnalyzer/Frontend"
149   module * { export * }
150 }
151
152 module Clang_Tooling {
153   requires cplusplus umbrella "Tooling" module * { export * }
154   // FIXME: Exclude these headers to avoid pulling all of the AST matchers
155   // library into clang-format. Due to inline key functions in the headers,
156   // importing the AST matchers library gives a link dependency on the AST
157   // matchers (and thus the AST), which clang-format should not have.
158   exclude header "Tooling/RefactoringCallbacks.h"
159 }
160
161 module Clang_ToolingCore {
162   requires cplusplus
163   umbrella "Tooling/Core" module * { export * }
164 }
165
166 module Clang_ToolingInclusions {
167   requires cplusplus
168   umbrella "Tooling/Inclusions" module * { export * }
169 }