[llvm] r286690 - Fix another problem with formatv().

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 16:28:10 PST 2016


Author: zturner
Date: Fri Nov 11 18:28:10 2016
New Revision: 286690

URL: http://llvm.org/viewvc/llvm-project?rev=286690&view=rev
Log:
Fix another problem with formatv().

Modified:
    llvm/trunk/include/llvm/Support/FormatProviders.h

Modified: llvm/trunk/include/llvm/Support/FormatProviders.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/FormatProviders.h?rev=286690&r1=286689&r2=286690&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/FormatProviders.h (original)
+++ llvm/trunk/include/llvm/Support/FormatProviders.h Fri Nov 11 18:28:10 2016
@@ -29,7 +29,8 @@ template <typename T>
 struct use_integral_formatter
     : public std::integral_constant<
           bool, is_one_of<T, uint8_t, int16_t, uint16_t, int32_t, uint32_t,
-                          int64_t, uint64_t>::value> {};
+                          int64_t, uint64_t, int, unsigned, long, unsigned long,
+                          long long, unsigned long long>::value> {};
 
 template <typename T>
 struct use_char_formatter




More information about the llvm-commits mailing list