projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use unsigned long long instead of uin64_t for OS where that matters.
[oota-llvm.git]
/
unittests
/
ADT
/
StringRefTest.cpp
diff --git
a/unittests/ADT/StringRefTest.cpp
b/unittests/ADT/StringRefTest.cpp
index e9c017babfc55e0222a79d4d02330c72dab945ce..ead372f365d6ea0bc66a72569321813239196533 100644
(file)
--- a/
unittests/ADT/StringRefTest.cpp
+++ b/
unittests/ADT/StringRefTest.cpp
@@
-470,7
+470,7
@@
static const char* BadStrings[] = {
TEST(StringRefTest, getAsUnsignedIntegerBadStrings) {
- u
int64_t
U64;
+ u
nsigned long long
U64;
for (size_t i = 0; i < array_lengthof(BadStrings); ++i) {
bool IsBadNumber = StringRef(BadStrings[i]).getAsInteger(0, U64);
ASSERT_TRUE(IsBadNumber);