hanchenye-llvm-project/libcxx
Dan Albert f9dc6670bc 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
2017-02-02 19:44:11 +00:00
..
benchmarks improve performance of string::find 2016-12-30 18:01:36 +00:00
cmake Improve CMake and LIT support for Windows 2017-01-16 20:47:35 +00:00
docs [libcxx] Mentions "targeting C++11 and above" instead of "targeting C++11" in the doc 2017-01-25 17:00:30 +00:00
include Fix PR#31779: basic_string::operator= isn't exception safe. 2017-01-31 03:40:52 +00:00
lib Update Linux ABI lists to reflect inlining change in LLVM. More investigation tomorrow. 2017-01-24 13:03:40 +00:00
src experimental: avoid using raw _WIN32 in filesystem 2017-01-30 19:57:27 +00:00
test Avoid implementation defined behavior in a test. 2017-02-02 19:44:11 +00:00
utils Allow sym_diff.py to report non-zero for non-breaking ABI changes 2017-01-18 00:05:01 +00:00
www Fixed a couple of invalid statuses for 2665 and 2758 2017-01-26 14:36:14 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format Tweak .clang-format configuration. 2017-01-14 05:43:02 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt Revert "[libcxx] Never use <cassert> within libc++" 2017-01-24 12:26:01 +00:00
CREDITS.TXT Added "Michael Park" to `CREDITS.TXT`. 2017-01-07 10:19:24 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00