From cfca06d7963fa0909f90483b42a6d7d194d01e08 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 26 Jul 2020 19:36:28 +0000 Subject: Vendor import of llvm-project master 2e10b7a39b9, the last commit before the llvmorg-12-init tag, from which release/11.x was branched. --- llvm/lib/Support/NativeFormatting.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Support/NativeFormatting.cpp') diff --git a/llvm/lib/Support/NativeFormatting.cpp b/llvm/lib/Support/NativeFormatting.cpp index 3731e0c56359..ae4bffbd94c1 100644 --- a/llvm/lib/Support/NativeFormatting.cpp +++ b/llvm/lib/Support/NativeFormatting.cpp @@ -7,12 +7,11 @@ //===----------------------------------------------------------------------===// #include "llvm/Support/NativeFormatting.h" - #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Support/Format.h" - +#include "llvm/Support/raw_ostream.h" #include using namespace llvm; @@ -89,7 +88,7 @@ static void write_signed(raw_ostream &S, T N, size_t MinDigits, IntegerStyle Style) { static_assert(std::is_signed::value, "Value is not signed!"); - using UnsignedT = typename std::make_unsigned::type; + using UnsignedT = std::make_unsigned_t; if (N >= 0) { write_unsigned(S, static_cast(N), MinDigits, Style); -- cgit v1.2.3