diff options
| author | Dan Albert <danalbert@google.com> | 2017-02-02 19:44:11 +0000 |
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2017-02-02 19:44:11 +0000 |
| commit | f9dc6670bc524e338b89a8c0ac46186349c0fa8b (patch) | |
| tree | 74d84f99494a6137ec995d57bf095e98d390871b /llvm/unittests/Bitcode/BitstreamReaderTest.cpp | |
| parent | d67ab623f6e64d1ed32ddcb7d75f6879dfa1b8ae (diff) | |
| download | bcm5719-llvm-f9dc6670bc524e338b89a8c0ac46186349c0fa8b.tar.gz bcm5719-llvm-f9dc6670bc524e338b89a8c0ac46186349c0fa8b.zip | |
Avoid implementation defined behavior in a test.
Summary:
num_put::put uses %p for pointer types, but the exact format of %p is
implementation defined behavior for the C library. Compare output to
snprintf for portability.
Reviewers: EricWF, mclow.lists
Reviewed By: EricWF
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D29197
llvm-svn: 293926
Diffstat (limited to 'llvm/unittests/Bitcode/BitstreamReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions

