OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f74ead
)
Use unsigned long long instead of uin64_t for OS where that matters.
author
Nick Kledzik
<kledzik@apple.com>
Wed, 3 Oct 2012 19:27:25 +0000
(19:27 +0000)
committer
Nick Kledzik
<kledzik@apple.com>
Wed, 3 Oct 2012 19:27:25 +0000
(19:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165147
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/ADT/StringRefTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/ADT/StringRefTest.cpp
b/unittests/ADT/StringRefTest.cpp
index
e9c017b
..
ead372f
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);