diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-09-06 04:04:13 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-09-06 04:04:13 +0000 |
commit | 46b1a9a70c171c44eb2fe0948f9b6f1be2387aa3 (patch) | |
tree | b05f5a80e5937bf80d7ebf319fb9256620e12ba1 /lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/main.c | |
parent | bfa25bd1aca993e36222aec4b400bdeff37355ec (diff) | |
download | bcm5719-llvm-46b1a9a70c171c44eb2fe0948f9b6f1be2387aa3.tar.gz bcm5719-llvm-46b1a9a70c171c44eb2fe0948f9b6f1be2387aa3.zip |
bugpoint: Stop threading errors through APIs that never fail
This simplifies ListReducer and most of its subclasses by removing the
std::string &Error that was threaded through all of them but almost
never used. If we end up needing error handling in more places here we
can reinstate it using llvm::Error instead of these unwieldy strings.
The 2 cases (out of 12) that actually can hit the error cases are a
little bit awkward now, but those will clean up as I refactor this API
further.
llvm-svn: 280690
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/main.c')
0 files changed, 0 insertions, 0 deletions