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

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 14 01:50:36 PDT 2024


================
@@ -112,6 +114,9 @@ class ClangdServer {
     /// This throttler controls which preambles may be built at a given time.
     clangd::PreambleThrottler *PreambleThrottler = nullptr;
 
+    /// Enable experimental support for modules.
----------------
ChuanqiXu9 wrote:

I add ModulesManager to `ClangdServer::Options` and removed this flag. But I still need a variable to pass the information from the command line. I add that to `ClangdLSPServer::Options`. Otherwise we have to refactor the command line system of clangd a little bit. They are all local to `ClangdMain.cpp` now. If we really want that, I suggest we should do that in a separat patch.

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


More information about the cfe-commits mailing list