summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2012-10-03 19:27:25 +0000
committerNick Kledzik <kledzik@apple.com>2012-10-03 19:27:25 +0000
commit436eaa88fda780e135405c9fc9dc9cac892eb9d8 (patch)
treee120f3a8bbb6350b44cc017059dae45d862871b1 /unittests
parent7f74eade1f48b32e4c87db651f1a86e0a64b6fa7 (diff)
downloadllvm-436eaa88fda780e135405c9fc9dc9cac892eb9d8.tar.gz
llvm-436eaa88fda780e135405c9fc9dc9cac892eb9d8.tar.bz2
llvm-436eaa88fda780e135405c9fc9dc9cac892eb9d8.tar.xz
Use unsigned long long instead of uin64_t for OS where that matters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/StringRefTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp
index e9c017babf..ead372f365 100644
--- a/unittests/ADT/StringRefTest.cpp
+++ b/unittests/ADT/StringRefTest.cpp
@@ -470,7 +470,7 @@ static const char* BadStrings[] = {
TEST(StringRefTest, getAsUnsignedIntegerBadStrings) {
- uint64_t U64;
+ unsigned long long U64;
for (size_t i = 0; i < array_lengthof(BadStrings); ++i) {
bool IsBadNumber = StringRef(BadStrings[i]).getAsInteger(0, U64);
ASSERT_TRUE(IsBadNumber);