]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/clang/include/clang/module.modulemap
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r308421, and update
[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/LangOptions.def"
46   textual header "Basic/OpenCLExtensions.def"
47   textual header "Basic/OpenCLImageTypes.def"
48   textual header "Basic/OpenMPKinds.def"
49   textual header "Basic/OperatorKinds.def"
50   textual header "Basic/Sanitizers.def"
51   textual header "Basic/TokenKinds.def"
52
53   module * { export * }
54 }
55
56 module Clang_CodeGen { requires cplusplus umbrella "CodeGen" module * { export * } }
57 module Clang_Config { requires cplusplus umbrella "Config" module * { export * } }
58
59 // Files for diagnostic groups are spread all over the include/clang/ tree, but
60 // logically form a single module.
61 module Clang_Diagnostics {
62   requires cplusplus
63
64   module All { header "Basic/AllDiagnostics.h" export * }
65   module Analysis { header "Analysis/AnalysisDiagnostic.h" export * }
66   module AST { header "AST/ASTDiagnostic.h" export * }
67   module Comment { header "AST/CommentDiagnostic.h" export * }
68   module Driver { header "Driver/DriverDiagnostic.h" export * }
69   module Frontend { header "Frontend/FrontendDiagnostic.h" export * }
70   module Lex { header "Lex/LexDiagnostic.h" export * }
71   module Parse { header "Parse/ParseDiagnostic.h" export * }
72   // FIXME: This breaks the build of Clang_Sema, for unknown reasons.
73   //module Sema { header "Sema/SemaDiagnostic.h" export * }
74   module Serialization { header "Serialization/SerializationDiagnostic.h" export * }
75 }
76
77 module Clang_Driver {
78   requires cplusplus
79   umbrella "Driver"
80
81   textual header "Driver/Types.def"
82
83   module * { export * }
84 }
85
86 module Clang_Edit { requires cplusplus umbrella "Edit" module * { export * } }
87 module Clang_Format { requires cplusplus umbrella "Format" module * { export * } }
88
89 module Clang_Frontend {
90   requires cplusplus
91   umbrella "Frontend"
92
93   textual header "Frontend/CodeGenOptions.def"
94   textual header "Frontend/LangStandards.def"
95
96   module * { export * }
97
98   // FIXME: This violates layers.
99   exclude header "Frontend/PCHContainerOperations.h"
100 }
101
102 module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
103 module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
104 module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }
105 module Clang_Parse { requires cplusplus umbrella "Parse" module * { export * } }
106 module Clang_Rewrite { requires cplusplus umbrella "Rewrite" module * { export * } }
107 module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } }
108 module Clang_Serialization { requires cplusplus umbrella "Serialization" module * { export * } }
109
110 module Clang_StaticAnalyzer_Core {
111   requires cplusplus
112   umbrella "StaticAnalyzer/Core"
113
114   textual header "StaticAnalyzer/Core/Analyses.def"
115   textual header "StaticAnalyzer/Core/PathSensitive/SVals.def"
116   textual header "StaticAnalyzer/Core/PathSensitive/Symbols.def"
117   textual header "StaticAnalyzer/Core/PathSensitive/Regions.def"
118
119   module * { export * }
120 }
121
122 module Clang_StaticAnalyzer_Checkers {
123   requires cplusplus
124   umbrella "StaticAnalyzer/Checkers"
125   module * { export * }
126 }
127
128 module Clang_StaticAnalyzer_Frontend {
129   requires cplusplus
130   umbrella "StaticAnalyzer/Frontend"
131   module * { export * }
132 }
133
134 module Clang_Tooling {
135   requires cplusplus umbrella "Tooling" module * { export * }
136   // FIXME: Exclude these headers to avoid pulling all of the AST matchers
137   // library into clang-format. Due to inline key functions in the headers,
138   // importing the AST matchers library gives a link dependency on the AST
139   // matchers (and thus the AST), which clang-format should not have.
140   exclude header "Tooling/RefactoringCallbacks.h"
141 }