[PATCH] D40443: [Modules TS] Make imports from an interface unit visible to its implementation units

Hamza Sood via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 08:49:14 PST 2017


hamzasood created this revision.

This provides an implementation for the changes outlined in section 4.1 of P0731r0, which clarifies the intended behaviour regarding implementation units being able to see imports made within their corresponding interface unit.


https://reviews.llvm.org/D40443

Files:
  lib/Sema/SemaDecl.cpp
  test/CXX/modules-ts/basic/basic.def.odr/p6/module-vs-module.cpp
  test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.interface/p1.cpp
  test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.interface/p1/export-kw.cpp
  test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.interface/p1/interface-imports.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40443.124213.patch
Type: text/x-patch
Size: 5395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171124/9ec3a1e5/attachment-0001.bin>


More information about the cfe-commits mailing list