summaryrefslogtreecommitdiffstats
path: root/include/clang/module.modulemap
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-12-11 03:18:39 +0000
committerRichard Trieu <rtrieu@google.com>2018-12-11 03:18:39 +0000
commit27ce6b391803ac31b5c2d719cd951cdf3598695b (patch)
treef7937e4775cded632ec27d1a11968c1f4ab9f59b /include/clang/module.modulemap
parentc7e7dd28631dae5aeaa6df29aa5b703fb182d0eb (diff)
Move CodeGenOptions from Frontend to Basic
Basic uses CodeGenOptions and should not depend on Frontend. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/module.modulemap')
-rw-r--r--include/clang/module.modulemap9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/clang/module.modulemap b/include/clang/module.modulemap
index b9ffb46ba1..1f6eacca1f 100644
--- a/include/clang/module.modulemap
+++ b/include/clang/module.modulemap
@@ -47,6 +47,7 @@ module Clang_Basic {
textual header "Basic/BuiltinsX86.def"
textual header "Basic/BuiltinsX86_64.def"
textual header "Basic/BuiltinsXCore.def"
+ textual header "Basic/CodeGenOptions.def"
textual header "Basic/DiagnosticOptions.def"
textual header "Basic/Features.def"
textual header "Basic/LangOptions.def"
@@ -107,14 +108,6 @@ module Clang_Frontend {
exclude header "Frontend/PCHContainerOperations.h"
}
-// Used in clangBasic
-module Clang_Frontend_CodeGenOptions {
- requires cplusplus
- header "Frontend/CodeGenOptions.h"
- textual header "Frontend/CodeGenOptions.def"
- export *
-}
-
module Clang_FrontendTool { requires cplusplus umbrella "FrontendTool" module * { export * } }
module Clang_Index { requires cplusplus umbrella "Index" module * { export * } }
module Clang_Lex { requires cplusplus umbrella "Lex" module * { export * } }