[llvm-commits] [llvm] r70076 - /llvm/trunk/include/llvm/Constants.h

Bill Wendling isanbard at gmail.com
Sat Apr 25 14:06:53 PDT 2009


Author: void
Date: Sat Apr 25 16:06:53 2009
New Revision: 70076

URL: http://llvm.org/viewvc/llvm-project?rev=70076&view=rev
Log:
Use intptr_t.

Modified:
    llvm/trunk/include/llvm/Constants.h

Modified: llvm/trunk/include/llvm/Constants.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constants.h?rev=70076&r1=70075&r2=70076&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Constants.h (original)
+++ llvm/trunk/include/llvm/Constants.h Sat Apr 25 16:06:53 2009
@@ -845,7 +845,7 @@
 
   /// size() - The length of this string.
   ///
-  size_t size() const { return StrEnd - StrBegin; }
+  intptr_t size() const { return StrEnd - StrBegin; }
 
   /// begin() - Pointer to the first byte of the string.
   ///





More information about the llvm-commits mailing list