]> granicus.if.org Git - llvm/commitdiff
Fix another problem with formatv().
authorZachary Turner <zturner@google.com>
Sat, 12 Nov 2016 00:28:10 +0000 (00:28 +0000)
committerZachary Turner <zturner@google.com>
Sat, 12 Nov 2016 00:28:10 +0000 (00:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286690 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/FormatProviders.h

index be0e5bab10c64e626fddd4229016e155e30dd7f2..b33a7e01ec8e49c013b689f41e815f3be0e9095d 100644 (file)
@@ -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