mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 13:05:52 -04:00

Summary: When in a gmodules-like debugging scenario, you can have a parent decl context that gets imported from an external AST. When this happens, we must be careful to complete this type before adding children to it, otherwise it sometimes results in a crash. Reviewers: clayborg, jingham Subscribers: aprantl, JDevlieghere, lldb-commits Differential Revision: https://reviews.llvm.org/D43592 llvm-svn: 327750
9 lines
151 B
C++
9 lines
151 B
C++
class Foo::Bar { int i = 123; };
|
|
|
|
int main(int argc, const char * argv[])
|
|
{
|
|
IntContainer test(42);
|
|
Foo::Bar bar;
|
|
return 0; // break here
|
|
}
|