[clang-tools-extra] [clangd] Add CodePatterns config option under Completion (PR #137613)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sun May 11 22:21:11 PDT 2025


================
@@ -267,6 +267,17 @@ opt<Config::HeaderInsertionPolicy> HeaderInsertion{
             "Never insert #include directives as part of code completion")),
 };
 
+opt<Config::CodePatternsPolicy> CodePatterns{
----------------
HighCommander4 wrote:

We've been moving towards having configuration specified only in the config file, not on the command line.

In the few cases where an option exists in both places (e.g. `--function-arg-placeholders`), it's because the command-line argument pre-dated the introduction of the config file system, and was kept for backward-compatibility.

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


More information about the cfe-commits mailing list