diff options
| author | Stephen Hines <srhines@google.com> | 2017-08-15 21:20:41 +0000 |
|---|---|---|
| committer | Stephen Hines <srhines@google.com> | 2017-08-15 21:20:41 +0000 |
| commit | 14ccaedbb88650c1743dd6d0524422606d8d7922 (patch) | |
| tree | c42867f93aad4957b23ee2d82da2b118c51e189a /clang/test | |
| parent | c0301b2f5320a760d8a25152db7365bee53be794 (diff) | |
| download | bcm5719-llvm-14ccaedbb88650c1743dd6d0524422606d8d7922.tar.gz bcm5719-llvm-14ccaedbb88650c1743dd6d0524422606d8d7922.zip | |
Switch to consumeError(), since this can crash otherwise.
Summary:
If assertions are disabled, but LLVM_ABI_BREAKING_CHANGES is enabled,
this will cause an issue with an unchecked Success. Switching to
consumeError() is the correct way to bypass the check.
Reviewers: llvm-commits, cfe-commits, arphaman
Reviewed By: arphaman
Subscribers: arphaman, klimek, pirama
Differential Revision: https://reviews.llvm.org/D36728
llvm-svn: 310958
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions

