diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-08-01 08:01:09 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-08-01 08:01:09 +0000 |
commit | c5877e9803b1b4515ba8bfb2a83e974938feb283 (patch) | |
tree | 90f4c63899dbb3364f9d118655ae796bdb7d014a /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py | |
parent | 4f1d893f9ec33a493d9f35426254a0ce69716933 (diff) | |
download | bcm5719-llvm-c5877e9803b1b4515ba8bfb2a83e974938feb283.tar.gz bcm5719-llvm-c5877e9803b1b4515ba8bfb2a83e974938feb283.zip |
Delay emitting dllexport explicitly defaulted members until the class is fully parsed (PR40006)
This is similar to r245139, but that only addressed dllexported classes.
It was still possible to run into the same problem with dllexported
members in an otherwise normal class (see bug). This uses the same
strategy to fix: delay defining the method until the whole class has
been parsed.
(The easiest way to see the ordering problem is in
Parser::ParseCXXMemberSpecification(): it calls
ParseLexedMemberInitializers() *after* ActOnFinishCXXMemberDecls(),
which was trying to define the dllexport method. Now we delay it to
ActOnFinishCXXNonNestedClass() which is called after both of those.)
Differential revision: https://reviews.llvm.org/D65511
llvm-svn: 367520
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions