[PATCH] D29197: Avoid implementation defined behavior in a test.

2017-02-02 Thread Dan Albert via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293926: Avoid implementation defined behavior in a test. (authored by danalbert). Changed prior to commit: https://reviews.llvm.org/D29197?vs=85961&id=86866#toc Repository: rL LLVM https://reviews.l

[PATCH] D29197: Avoid implementation defined behavior in a test.

2017-01-26 Thread Dan Albert via Phabricator via cfe-commits
danalbert created this revision. 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. Repository: rL LLVM https://reviews.llvm.org/D29197 Files: test/std/localization/locale.cat