diff options
author | Richard Trieu <rtrieu@google.com> | 2018-01-19 20:46:19 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2018-01-19 20:46:19 +0000 |
commit | 758d7a5a336d315f9006fc4a18a2721bde8fc670 (patch) | |
tree | 041ada4166298cd5f0c1e1ac0631e612613626d2 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | ac04d9b8e5f1d9668ed17977784bd844477c8cfc (diff) | |
download | bcm5719-llvm-758d7a5a336d315f9006fc4a18a2721bde8fc670.tar.gz bcm5719-llvm-758d7a5a336d315f9006fc4a18a2721bde8fc670.zip |
Allow BlockDecl in CXXRecord scope to have no access specifier.
Using a BlockDecl in a default member initializer causes it to be attached to
CXXMethodDecl without its access specifier being set. This prevents a crash
where getAccess is called on this BlockDecl, since that method expects any
Decl in CXXRecord scope to have an access specifier.
llvm-svn: 322984
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions