
This change fixes Richard's testcase for r193815. Now we include non-explicit submodules into the list of exports. The test failed previously because: - recursive_visibility_a1.inner is not imported (only recursive_visibility_a1 is), - thus the 'inner' submodule is not showing up in any of the import lists, - and because of this getExportedModules() is not returning the correct module set -- it only considers modules that are imported. The fix is to make Module::getExportedModules() include non-explicit submodules into the list of exports. llvm-svn: 194018
6 lines
165 B
C++
6 lines
165 B
C++
@import recursive_visibility_b;
|
|
template<template<typename T> class Y> void g() {
|
|
f(typename Y<A1_Inner::X>::type{});
|
|
f(typename Y<A2_More_Inner::X>::type{});
|
|
}
|