1 module Clang_Analysis {
5 textual header "Analysis/Analyses/ThreadSafetyOps.def"
14 textual header "AST/BuiltinTypes.def"
15 textual header "AST/OperationKinds.def"
16 textual header "AST/TypeLocNodes.def"
17 textual header "AST/TypeNodes.def"
22 module Clang_ASTMatchers { requires cplusplus umbrella "ASTMatchers" module * { export * } }
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/BuiltinsNVPTX.def"
37 textual header "Basic/BuiltinsPPC.def"
38 textual header "Basic/BuiltinsSystemZ.def"
39 textual header "Basic/BuiltinsWebAssembly.def"
40 textual header "Basic/BuiltinsX86.def"
41 textual header "Basic/BuiltinsXCore.def"
42 textual header "Basic/DiagnosticOptions.def"
43 textual header "Basic/LangOptions.def"
44 textual header "Basic/OpenCLExtensions.def"
45 textual header "Basic/OpenCLImageTypes.def"
46 textual header "Basic/OpenMPKinds.def"
47 textual header "Basic/OperatorKinds.def"
48 textual header "Basic/Sanitizers.def"
49 textual header "Basic/TokenKinds.def"
54 module Clang_CodeGen { requires cplusplus umbrella "CodeGen" module * { export * } }
55 module Clang_Config { requires cplusplus umbrella "Config" module * { export * } }
57 // Files for diagnostic groups are spread all over the include/clang/ tree, but
58 // logically form a single module.
59 module Clang_Diagnostics {
62 module All { header "Basic/AllDiagnostics.h" export * }
63 module Analysis { header "Analysis/AnalysisDiagnostic.h" export * }
64 module AST { header "AST/ASTDiagnostic.h" export * }
65 module Comment { header "AST/CommentDiagnostic.h" export * }
66 module Driver { header "Driver/DriverDiagnostic.h" export * }
67 module Frontend { header "Frontend/FrontendDiagnostic.h" export * }
68 module Lex { header "Lex/LexDiagnostic.h" export * }
69 module Parse { header "Parse/ParseDiagnostic.h" export * }
70 // FIXME: This breaks the build of Clang_Sema, for unknown reasons.
71 //module Sema { header "Sema/SemaDiagnostic.h" export * }
72 module Serialization { header "Serialization/SerializationDiagnostic.h" export * }
79 textual header "Driver/Types.def"
84 module Clang_Edit { requires cplusplus umbrella "Edit" module * { export * } }
85 module Clang_Format { requires cplusplus umbrella "Format" module * { export * } }
87 module Clang_Frontend {
91 textual header "Frontend/CodeGenOptions.def"
92 textual header "Frontend/LangStandards.def"
96 // FIXME: This violates layers.
97 exclude header "Frontend/PCHContainerOperations.h"
100 module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
101 module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
102 module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }
103 module Clang_Parse { requires cplusplus umbrella "Parse" module * { export * } }
104 module Clang_Rewrite { requires cplusplus umbrella "Rewrite" module * { export * } }
105 module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } }
106 module Clang_Serialization { requires cplusplus umbrella "Serialization" module * { export * } }
108 module Clang_StaticAnalyzer_Core {
110 umbrella "StaticAnalyzer/Core"
112 textual header "StaticAnalyzer/Core/Analyses.def"
113 textual header "StaticAnalyzer/Core/PathSensitive/SVals.def"
114 textual header "StaticAnalyzer/Core/PathSensitive/Symbols.def"
115 textual header "StaticAnalyzer/Core/PathSensitive/Regions.def"
117 module * { export * }
120 module Clang_StaticAnalyzer_Checkers {
122 umbrella "StaticAnalyzer/Checkers"
123 module * { export * }
126 module Clang_StaticAnalyzer_Frontend {
128 umbrella "StaticAnalyzer/Frontend"
129 module * { export * }
132 module Clang_Tooling {
133 requires cplusplus umbrella "Tooling" module * { export * }
134 // FIXME: Exclude this header to avoid pulling all of the AST matchers
135 // library into clang-format. Due to inline key functions in the headers,
136 // importing the AST matchers library gives a link dependency on the AST
137 // matchers (and thus the AST), which clang-format should not have.
138 exclude header "Tooling/RefactoringCallbacks.h"