
Before this patch, clang would emit a (module-)forward declaration for template instantiations that are not anchored by an explicit template instantiation, but still are guaranteed to be available in an imported module. Unfortunately detecting the owning module doesn't reliably work when local submodule visibility is enabled and the template is inside a cross-module namespace. This make clang debuggable again with -gmodules and LSV enabled. rdar://problem/41552377 llvm-svn: 345109
10 lines
150 B
Plaintext
10 lines
150 B
Plaintext
module A {
|
|
umbrella "A" module * { export * }
|
|
}
|
|
module B {
|
|
umbrella "B" module * { export * }
|
|
}
|
|
module C {
|
|
umbrella "C" module * { export * }
|
|
}
|