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

Petr Polezhaev via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 14 07:41:34 PST 2025


petr-polezhaev wrote:

> Do we need to update `buildModuleFile` in `clang-tools-extra/clangd/ModulesBuilder.cpp` to update the commands to build the module interfaces?

It uses `GlobalCompilationDatabase::getCompileCommand` (if I correctly understand what you mean) which is overridden by `OverlayCDB::getCompileCommand` which does call the `Mangler` before returning the command, so that should already be covered

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


More information about the cfe-commits mailing list