[clang-tools-extra] [clangd] Introduce --skip-preamble-build command line option (PR #189284)

Aleksandr Platonov via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 12 13:18:51 PDT 2026


================
@@ -525,6 +525,14 @@ opt<bool> PreambleParseForwardingFunctions{
     init(ParseOptions().PreambleParseForwardingFunctions),
 };
 
+opt<bool> SkipPreambleBuild{
----------------
ArcsinX wrote:

With this option we control preamble optimization.  So, maybe "PreambleOptimization" with default `true` value can be more clear.
I want to avoid using "PCH" in this option name, since this relates to the implementation details of preamble optimization.

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


More information about the cfe-commits mailing list