6 module Clang_Analysis {
8 umbrella "clang/Analysis"
10 textual header "clang/Analysis/Analyses/ThreadSafetyOps.def"
14 // FIXME: Exclude these headers to avoid pulling all of the AST matchers
15 // library into clang. Due to inline key functions in the headers,
16 // importing the AST matchers library gives a link dependency on the AST
17 // matchers (and thus the AST), which clang-format should not have.
18 exclude header "clang/Analysis/Analyses/ExprMutationAnalyzer.h"
25 textual header "clang/AST/BuiltinTypes.def"
26 textual header "clang/AST/CXXRecordDeclDefinitionBits.def"
27 textual header "clang/AST/OperationKinds.def"
28 textual header "clang/AST/TypeLocNodes.def"
33 module Clang_ASTMatchers { requires cplusplus umbrella "clang/ASTMatchers" module * { export * } }
37 umbrella "clang/Basic"
39 textual header "clang/Basic/AArch64SVEACLETypes.def"
40 textual header "clang/Basic/BuiltinsAArch64.def"
41 textual header "clang/Basic/BuiltinsAMDGPU.def"
42 textual header "clang/Basic/BuiltinsAArch64NeonSVEBridge.def"
43 textual header "clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def"
44 textual header "clang/Basic/BuiltinsARM.def"
45 textual header "clang/Basic/BuiltinsBPF.def"
46 textual header "clang/Basic/Builtins.def"
47 textual header "clang/Basic/BuiltinHeaders.def"
48 textual header "clang/Basic/BuiltinsHexagon.def"
49 textual header "clang/Basic/BuiltinsHexagonDep.def"
50 textual header "clang/Basic/BuiltinsHexagonMapCustomDep.def"
51 textual header "clang/Basic/BuiltinsLoongArch.def"
52 textual header "clang/Basic/BuiltinsMips.def"
53 textual header "clang/Basic/BuiltinsNEON.def"
54 textual header "clang/Basic/BuiltinsNVPTX.def"
55 textual header "clang/Basic/BuiltinsPPC.def"
56 textual header "clang/Basic/BuiltinsRISCV.def"
57 textual header "clang/Basic/BuiltinsRISCVVector.def"
58 textual header "clang/Basic/BuiltinsSME.def"
59 textual header "clang/Basic/BuiltinsSVE.def"
60 textual header "clang/Basic/BuiltinsSystemZ.def"
61 textual header "clang/Basic/BuiltinsVE.def"
62 textual header "clang/Basic/BuiltinsVEVL.gen.def"
63 textual header "clang/Basic/BuiltinsWebAssembly.def"
64 textual header "clang/Basic/BuiltinsX86.def"
65 textual header "clang/Basic/BuiltinsX86_64.def"
66 textual header "clang/Basic/BuiltinsXCore.def"
67 textual header "clang/Basic/CodeGenOptions.def"
68 textual header "clang/Basic/DiagnosticOptions.def"
69 textual header "clang/Basic/Features.def"
70 textual header "clang/Basic/FPOptions.def"
71 textual header "clang/Basic/MSP430Target.def"
72 textual header "clang/Basic/LangOptions.def"
73 textual header "clang/Basic/OpenCLExtensions.def"
74 textual header "clang/Basic/OpenCLImageTypes.def"
75 textual header "clang/Basic/OpenCLExtensionTypes.def"
76 textual header "clang/Basic/OpenMPKinds.def"
77 textual header "clang/Basic/OperatorKinds.def"
78 textual header "clang/Basic/PPCTypes.def"
79 textual header "clang/Basic/RISCVVTypes.def"
80 textual header "clang/Basic/Sanitizers.def"
81 textual header "clang/Basic/TargetCXXABI.def"
82 textual header "clang/Basic/TransformTypeTraits.def"
83 textual header "clang/Basic/TokenKinds.def"
84 textual header "clang/Basic/WebAssemblyReferenceTypes.def"
88 module Clang_Basic_TokenKinds {
91 header "clang/Basic/TokenKinds.h"
92 textual header "clang/Basic/TokenKinds.def"
97 module Clang_CodeGen { requires cplusplus umbrella "clang/CodeGen" module * { export * } }
98 module Clang_Config { requires cplusplus umbrella "clang/Config" module * { export * } }
100 // Files for diagnostic groups are spread all over the include/clang/ tree, but
101 // logically form a single module.
102 module Clang_Diagnostics {
105 module All { header "clang/Basic/AllDiagnostics.h" export * }
106 module Analysis { textual header "clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def" }
107 module AST { header "clang/AST/ASTDiagnostic.h" export * }
108 module Comment { header "clang/AST/CommentDiagnostic.h" export * }
109 module Driver { header "clang/Driver/DriverDiagnostic.h" export * }
110 module Frontend { header "clang/Frontend/FrontendDiagnostic.h" export * }
111 module Lex { header "clang/Lex/LexDiagnostic.h" export * }
112 module Parse { header "clang/Parse/ParseDiagnostic.h" export * }
113 module Sema { header "clang/Sema/SemaDiagnostic.h" export * }
114 module Serialization { header "clang/Serialization/SerializationDiagnostic.h" export * }
115 module Refactoring { header "clang/Tooling/Refactoring/RefactoringDiagnostic.h" export * }
118 module Clang_Driver {
120 umbrella "clang/Driver"
122 textual header "clang/Driver/Types.def"
124 module * { export * }
127 module Clang_Edit { requires cplusplus umbrella "clang/Edit" module * { export * } }
128 module Clang_Format { requires cplusplus umbrella "clang/Format" module * { export * } }
130 module Clang_Frontend {
132 umbrella "clang/Frontend"
134 textual header "clang/Basic/LangStandards.def"
136 module * { export * }
139 module Clang_FrontendTool { requires cplusplus umbrella "clang/FrontendTool" module * { export * } }
140 module Clang_Index { requires cplusplus umbrella "clang/Index" module * { export * } }
141 module Clang_Lex { requires cplusplus umbrella "clang/Lex" module * { export * } }
142 module Clang_Parse { requires cplusplus umbrella "clang/Parse" module * { export * } }
143 module Clang_Rewrite { requires cplusplus umbrella "clang/Rewrite/Core" module * { export * } }
144 module Clang_RewriteFrontend { requires cplusplus umbrella "clang/Rewrite/Frontend" module * { export * } }
145 module Clang_Sema { requires cplusplus umbrella "clang/Sema" module * { export * } }
147 module Clang_Serialization {
149 umbrella "clang/Serialization"
151 textual header "clang/Serialization/TypeBitCodes.def"
153 module * { export * }
156 module Clang_StaticAnalyzer_Core {
158 umbrella "clang/StaticAnalyzer/Core"
160 textual header "clang/StaticAnalyzer/Core/Analyses.def"
161 textual header "clang/StaticAnalyzer/Core/AnalyzerOptions.def"
162 textual header "clang/StaticAnalyzer/Core/PathSensitive/SVals.def"
163 textual header "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def"
164 textual header "clang/StaticAnalyzer/Core/PathSensitive/Regions.def"
166 module * { export * }
169 module Clang_StaticAnalyzer_Checkers {
171 umbrella "clang/StaticAnalyzer/Checkers"
172 module * { export * }
175 module Clang_StaticAnalyzer_Frontend {
177 umbrella "clang/StaticAnalyzer/Frontend"
178 module * { export * }
181 module Clang_Testing {
183 umbrella "clang/Testing"
184 module * { export * }
187 module Clang_Tooling {
188 requires cplusplus umbrella "clang/Tooling" module * { export * }
189 // FIXME: Exclude these headers to avoid pulling all of the AST matchers
190 // library into clang-format. Due to inline key functions in the headers,
191 // importing the AST matchers library gives a link dependency on the AST
192 // matchers (and thus the AST), which clang-format should not have.
193 exclude header "clang/Tooling/RefactoringCallbacks.h"
196 module Clang_ToolingCore {
198 umbrella "clang/Tooling/Core" module * { export * }
201 module Clang_ToolingInclusions {
203 umbrella "clang/Tooling/Inclusions"
204 module * { export * }