OSDN Git Service

Resubmit "Add support for advanced number formatting."
authorZachary Turner <zturner@google.com>
Mon, 17 Oct 2016 22:49:24 +0000 (22:49 +0000)
committerZachary Turner <zturner@google.com>
Mon, 17 Oct 2016 22:49:24 +0000 (22:49 +0000)
commitb3a18516ab0604ab781fd6b21031771cd46a2880
tree546ed45e6ea49b7517ac71e8e2ae5682424f4326
parent18560f1ee014f45a5d390815aade83d2d77c2cc0
Resubmit "Add support for advanced number formatting."

This resubmits commits 284425 and r284428, which were reverted
in r284429 due to some infinite recursion caused by an incorrect
selection of function overloads.  Reproduced the failure on Linux
using GCC 4.8.4, and confirmed that with the new patch the tests
path on GCC as well as MSVC.  So hopefully this fixes everything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284436 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/NativeFormatting.h
lib/Support/NativeFormatting.cpp
lib/Support/raw_ostream.cpp
unittests/Support/CMakeLists.txt
unittests/Support/NativeFormatTests.cpp [new file with mode: 0644]