diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-06-17 21:08:30 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-06-17 21:08:30 +0000 |
commit | 5745febe2775acb43999242a5fee8bef0a1de052 (patch) | |
tree | ec86fa010f4d5e1ff48abc293d76fdd1508b5f6d /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py | |
parent | 44475363e84a97452f7b510e53a88fb5f7c7b7e6 (diff) | |
download | bcm5719-llvm-5745febe2775acb43999242a5fee8bef0a1de052.tar.gz bcm5719-llvm-5745febe2775acb43999242a5fee8bef0a1de052.zip |
Rewrite ConstStructBuilder with a mechanism that can cope with splitting and updating constants.
Summary:
This adds a ConstantBuilder class that deals with incrementally building
an aggregate constant, including support for overwriting
previously-emitted parts of the aggregate with new values.
This fixes a bunch of cases where we used to be unable to reduce a
DesignatedInitUpdateExpr down to an IR constant, and also lays some
groundwork for emission of class constants with [[no_unique_address]]
members.
Reviewers: rjmccall
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D63371
llvm-svn: 363620
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions