[clang-tools-extra] [clangd] Support .clangd command line modifications for C++ modules (PR #122606)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 17 06:02:04 PST 2025


================
@@ -36,11 +38,16 @@ namespace clangd {
 /// `<primary-module-name>[:partition-name]`. So module names covers partitions.
 class ProjectModules {
 public:
+  using CommandProvider =
+      llvm::unique_function<void(tooling::CompileCommand &, PathRef) const>;
----------------
kadircet wrote:

this looks like a command-mangler, rather than command-provider to me

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


More information about the cfe-commits mailing list