[clang] [Modules] No transitive source location change (PR #86912)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 16:52:06 PDT 2024


================
@@ -696,7 +696,7 @@ class ASTReader
   /// Mapping from global submodule IDs to the module file in which the
   /// submodule resides along with the offset that should be added to the
   /// global submodule ID to produce a local ID.
-  GlobalSubmoduleMapType GlobalSubmoduleMap;
+  mutable GlobalSubmoduleMapType GlobalSubmoduleMap;
----------------
jansvoboda11 wrote:

Is `mutable` necessary here?

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


More information about the cfe-commits mailing list