]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/clang/include/clang/module.modulemap
Merge OpenSSL 1.0.2g.
[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/TypeLocNodes.def"
16   textual header "AST/TypeNodes.def"
17
18   module * { export * }
19 }
20
21 module Clang_ASTMatchers { requires cplusplus umbrella "ASTMatchers" module * { export * } }
22
23 module Clang_Basic {
24   requires cplusplus
25   umbrella "Basic"
26
27   textual header "Basic/BuiltinsAArch64.def"
28   textual header "Basic/BuiltinsARM.def"
29   textual header "Basic/Builtins.def"
30   textual header "Basic/BuiltinsHexagon.def"
31   textual header "Basic/BuiltinsLe64.def"
32   textual header "Basic/BuiltinsMips.def"
33   textual header "Basic/BuiltinsNEON.def"
34   textual header "Basic/BuiltinsNVPTX.def"
35   textual header "Basic/BuiltinsPPC.def"
36   textual header "Basic/BuiltinsR600.def"
37   textual header "Basic/BuiltinsSystemZ.def"
38   textual header "Basic/BuiltinsX86.def"
39   textual header "Basic/BuiltinsXCore.def"
40   textual header "Basic/DiagnosticOptions.def"
41   textual header "Basic/LangOptions.def"
42   textual header "Basic/OpenCLExtensions.def"
43   textual header "Basic/OpenMPKinds.def"
44   textual header "Basic/OperatorKinds.def"
45   textual header "Basic/Sanitizers.def"
46   textual header "Basic/TokenKinds.def"
47
48   module * { export * }
49 }
50
51 module Clang_CodeGen { requires cplusplus umbrella "CodeGen" module * { export * } }
52 module Clang_Config { requires cplusplus umbrella "Config" module * { export * } }
53
54 // Files for diagnostic groups are spread all over the include/clang/ tree, but
55 // logically form a single module.
56 module Clang_Diagnostics {
57   requires cplusplus
58
59   module All { header "Basic/AllDiagnostics.h" export * }
60   module Analysis { header "Analysis/AnalysisDiagnostic.h" export * }
61   module AST { header "AST/ASTDiagnostic.h" export * }
62   module Comment { header "AST/CommentDiagnostic.h" export * }
63   module Driver { header "Driver/DriverDiagnostic.h" export * }
64   module Frontend { header "Frontend/FrontendDiagnostic.h" export * }
65   module Lex { header "Lex/LexDiagnostic.h" export * }
66   module Parse { header "Parse/ParseDiagnostic.h" export * }
67   // FIXME: This breaks the build of Clang_Sema, for unknown reasons.
68   //module Sema { header "Sema/SemaDiagnostic.h" export * }
69   module Serialization { header "Serialization/SerializationDiagnostic.h" export * }
70 }
71
72 module Clang_Driver {
73   requires cplusplus
74   umbrella "Driver"
75
76   textual header "Driver/Types.def"
77
78   module * { export * }
79 }
80
81 module Clang_Edit { requires cplusplus umbrella "Edit" module * { export * } }
82 module Clang_Format { requires cplusplus umbrella "Format" module * { export * } }
83
84 module Clang_Frontend {
85   requires cplusplus
86   umbrella "Frontend"
87
88   textual header "Frontend/CodeGenOptions.def"
89   textual header "Frontend/LangStandards.def"
90
91   module * { export * }
92 }
93
94 module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
95 module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
96 module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }
97 module Clang_Parse { requires cplusplus umbrella "Parse" module * { export * } }
98 module Clang_Rewrite { requires cplusplus umbrella "Rewrite" module * { export * } }
99 module Clang_Sema { requires cplusplus umbrella "Sema" module * { export * } }
100 module Clang_Serialization { requires cplusplus umbrella "Serialization" module * { export * } }
101
102 module Clang_StaticAnalyzer_Core {
103   requires cplusplus
104   umbrella "StaticAnalyzer/Core"
105
106   textual header "StaticAnalyzer/Core/Analyses.def"
107
108   module * { export * }
109 }
110
111 module Clang_StaticAnalyzer_Checkers {
112   requires cplusplus
113   umbrella "StaticAnalyzer/Checkers"
114   module * { export * }
115 }
116
117 module Clang_StaticAnalyzer_Frontend {
118   requires cplusplus
119   umbrella "StaticAnalyzer/Frontend"
120   module * { export * }
121 }
122
123 module Clang_Tooling {
124   requires cplusplus umbrella "Tooling" module * { export * }
125   // FIXME: Exclude this header to avoid pulling all of the AST matchers
126   // library into clang-format. Due to inline key functions in the headers,
127   // importing the AST matchers library gives a link dependency on the AST
128   // matchers (and thus the AST), which clang-format should not have.
129   exclude header "Tooling/RefactoringCallbacks.h"
130 }