[clang-tools-extra] [clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (PR #66462)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 06:07:00 PDT 2024


================
@@ -146,6 +146,8 @@ class Checker {
   ClangdLSPServer::Options Opts;
   // from buildCommand
   tooling::CompileCommand Cmd;
+  std::unique_ptr<GlobalCompilationDatabase> BaseCDB;
+  std::unique_ptr<OverlayCDB> CDB;
----------------
kadircet wrote:

can you also construct a `ModulesBuilder` here and populate `Inputs` with it when `Opts.ExperimentalModulesSupport` is set?

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


More information about the cfe-commits mailing list