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

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 03:58:57 PDT 2023


================
@@ -104,6 +107,8 @@ struct PreambleData {
   IncludeStructure Includes;
   // Captures #include-mapping information in #included headers.
   std::shared_ptr<const include_cleaner::PragmaIncludes> Pragmas;
+  // Information about module files for this preamble.
+  std::optional<PrerequisiteModules> DependentModulesInfo;
----------------
sam-mccall wrote:

hmm, I think the adjective "dependent" in "dependent modules" would refer to modules that depend on this, not modules that this depends on.

Maybe `UsedModules`, `RequiredModules` or just `Modules`?

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


More information about the cfe-commits mailing list