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
14 lines
167 B
C++
14 lines
167 B
C++
#ifndef C_H
|
|
#define C_H
|
|
#include <A/ADT.h>
|
|
|
|
namespace llvm {
|
|
class D {
|
|
struct Q {
|
|
unsigned a, b, c, d;
|
|
};
|
|
SmallVector<Q, 4> q;
|
|
};
|
|
} // namespace llvm
|
|
#endif
|