[clang] [clang][modules-driver] Precompile std modules independently of -o and final phase (PR #199289)

Naveen Seth Hanig via cfe-commits cfe-commits at lists.llvm.org
Thu May 28 06:49:42 PDT 2026


================
@@ -73,6 +73,8 @@ TYPE("objective-c++-header-cpp-output", PP_ObjCXXHeader, INVALID,"mii",   phases
 TYPE("objective-c++-header",     ObjCXXHeader, PP_ObjCXXHeader, "h",      phases::Preprocess, phases::Precompile)
 TYPE("c++-module",               CXXModule,    PP_CXXModule,    "cppm",   phases::Preprocess, phases::Precompile, phases::Compile, phases::Backend, phases::Assemble, phases::Link)
 TYPE("c++-module-cpp-output",    PP_CXXModule, INVALID,         "iim",    phases::Precompile, phases::Compile, phases::Backend, phases::Assemble, phases::Link)
+TYPE("c++-std-module",           CXXStdModule, PP_CXXStdModule, "cppm",   phases::Preprocess, phases::Precompile)
----------------
naveen-seth wrote:

Added. And thank you for reviewing this! :)

https://github.com/llvm/llvm-project/pull/199289


More information about the cfe-commits mailing list