[clang-tools-extra] [clangd] Introduce --skip-preamble-build command line option (PR #189284)
Aleksandr Platonov via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 13 08:33:36 PDT 2026
================
@@ -1005,6 +1013,16 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
}
Opts.UseDirtyHeaders = UseDirtyHeaders;
Opts.PreambleParseForwardingFunctions = PreambleParseForwardingFunctions;
+ if (ExperimentalModulesSupport &&
+ SkipPreambleBuild.getNumOccurrences() == 0) {
----------------
ArcsinX wrote:
Thanks, addressed.
P.S. As a side effect, your original concern has also been fixed for cases where the module code does not import other modules.
https://github.com/llvm/llvm-project/pull/189284
More information about the cfe-commits
mailing list