mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 20:15:49 -04:00

This makes sure that we associate DIEs that are imported from other CUs with the appropriate decl context. Without this fix, nested classes can be dumped directly into their CU context if their parent was imported from another CU. Reviewed By: teemperor, labath Differential Revision: https://reviews.llvm.org/D68278 Patch by Jaroslav Sevcik! llvm-svn: 373470
18 lines
228 B
C++
18 lines
228 B
C++
struct OuterX {
|
|
template<typename T>
|
|
struct Inner {
|
|
int oX_inner = 42;
|
|
};
|
|
};
|
|
|
|
struct OuterY {
|
|
template<typename T>
|
|
struct Inner {
|
|
typename OuterX::Inner<T> oY_inner;
|
|
};
|
|
};
|
|
|
|
struct WrapperB;
|
|
|
|
WrapperB* foo();
|