[PATCH] D135958: [clang] modules: Fix callback argument thinko

Nathan Sidwell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 09:31:08 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG245da0a451e1: [modules] Fix callback argument thinko (authored by urnathan).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135958/new/

https://reviews.llvm.org/D135958

Files:
  clang/lib/Basic/Module.cpp


Index: clang/lib/Basic/Module.cpp
===================================================================
--- clang/lib/Basic/Module.cpp
+++ clang/lib/Basic/Module.cpp
@@ -653,7 +653,7 @@
       return;
 
     ImportLocs[ID] = Loc;
-    Vis(M);
+    Vis(V.M);
 
     // Make any exported modules visible.
     SmallVector<Module *, 16> Exports;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135958.468232.patch
Type: text/x-patch
Size: 341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221017/37981f12/attachment.bin>


More information about the cfe-commits mailing list