================
@@ -465,15 +450,9 @@ class alignas(8) Module {
   std::optional<ModuleFileName> ASTFileName;
   std::optional<ModuleFileKey> ASTFileKey;
 
-  /// The top-level headers associated with this module.
-  llvm::SmallSetVector<FileEntryRef, 2> TopHeaders;
-
   /// top-level header filenames that aren't resolved to FileEntries yet.
   std::vector<std::string> TopHeaderNames;
 
-  /// Cache of modules visible to lookup in this module.
-  mutable llvm::DenseSet<const Module*> VisibleModulesCache;
----------------
ChuanqiXu9 wrote:

This member is used in C++20 modules path. I don't agree move it into cold 
catagory

https://github.com/llvm/llvm-project/pull/243157
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to