[llvm-commits] [llvm] r165147 - /llvm/trunk/unittests/ADT/StringRefTest.cpp

Nick Kledzik kledzik at apple.com
Wed Oct 3 12:27:25 PDT 2012


Author: kledzik
Date: Wed Oct  3 14:27:25 2012
New Revision: 165147

URL: http://llvm.org/viewvc/llvm-project?rev=165147&view=rev
Log:
Use unsigned long long instead of uin64_t for OS where that matters.

Modified:
    llvm/trunk/unittests/ADT/StringRefTest.cpp

Modified: llvm/trunk/unittests/ADT/StringRefTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/StringRefTest.cpp?rev=165147&r1=165146&r2=165147&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/StringRefTest.cpp (original)
+++ llvm/trunk/unittests/ADT/StringRefTest.cpp Wed Oct  3 14:27:25 2012
@@ -470,7 +470,7 @@
 
 
 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);





More information about the llvm-commits mailing list