diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-11-18 10:13:40 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-11-18 10:39:33 +0800 |
commit | 4a7be42d922af0e2a60e08cbac062f57666c0003 (patch) | |
tree | aae6b542c535c6c433227d37215f576484ccd0ae /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | cab9c02bd97f520cb8a01a9197505438581f7de8 (diff) | |
download | llvm-4a7be42d922af0e2a60e08cbac062f57666c0003.zip llvm-4a7be42d922af0e2a60e08cbac062f57666c0003.tar.gz llvm-4a7be42d922af0e2a60e08cbac062f57666c0003.tar.bz2 |
[C++20] [Modules] Remove unmaintained Header Module
Currently there is a -emit-header-module mode, which can combine several
headers together as a module interface. However, this breaks our
assumption (for standard c++ modules) about module interface. The module
interface should come from a module interface unit. And if it is a
header, it should be a header unit. And currently we have no ideas to
combine several headers together.
So I think this mode is an experimental one and it is not maintained and
it is not used. So it will be better to remove them.
Reviewed By: Bigcheese, dblaikie, bruno
Differential Revision: https://reviews.llvm.org/D137609
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index 6927d2e..47157ca 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -65,8 +65,6 @@ CreateFrontendBaseAction(CompilerInstance &CI) { return std::make_unique<GenerateModuleFromModuleMapAction>(); case GenerateModuleInterface: return std::make_unique<GenerateModuleInterfaceAction>(); - case GenerateHeaderModule: - return std::make_unique<GenerateHeaderModuleAction>(); case GenerateHeaderUnit: return std::make_unique<GenerateHeaderUnitAction>(); case GeneratePCH: return std::make_unique<GeneratePCHAction>(); |