[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
Tue Oct 31 00:32:29 PDT 2023
================
@@ -696,6 +698,19 @@ buildPreamble(PathRef FileName, CompilerInvocation CI,
Result->Includes = CapturedInfo.takeIncludes();
Result->Pragmas = std::make_shared<const include_cleaner::PragmaIncludes>(
CapturedInfo.takePragmaIncludes());
+
+ if (ExperimentalModulesSupport) {
+ WallTimer PrerequisiteModuleTimer;
+ PrerequisiteModuleTimer.startTimer();
+ Result->DependentModulesInfo =
+ PrerequisiteModules::buildPrerequisiteModulesFor(FileName, Inputs.TFS,
+ CDB);
+ PrerequisiteModuleTimer.stopTimer();
+
+ log("Built prerequisite module for file {0} in {1} seconds", FileName,
----------------
ChuanqiXu9 wrote:
Done
https://github.com/llvm/llvm-project/pull/66462
More information about the cfe-commits
mailing list