diff options
| author | Dean Michael Berris <dberris@google.com> | 2016-12-13 00:17:31 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2016-12-13 00:17:31 +0000 |
| commit | 481294e3c71512ba666dfef018f729df820fdf36 (patch) | |
| tree | 0e59717828054562c2facd4ce3883fa13363cb03 /llvm/lib | |
| parent | 5f51ed1ca75b32e9048879fb1a39e85fcf924ef0 (diff) | |
| download | bcm5719-llvm-481294e3c71512ba666dfef018f729df820fdf36.tar.gz bcm5719-llvm-481294e3c71512ba666dfef018f729df820fdf36.zip | |
[XRay][compiler-rt] Use explicit comparisons in unit tests.
Summary:
This should improve the error messages generated providing a bit more
information when the failures are printed out. One example of a
contrived error looks like:
```
Expected: (Buffers.getBuffer(Buf)) != (std::error_code()), actual:
system:0 vs system:0
```
Because we're using error codes, the default printing gets us more
useful information in case of failure.
This is a follow-up on D26232.
Reviewers: rSerge
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D27495
llvm-svn: 289501
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

