projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d34844
)
Use intptr_t.
author
Bill Wendling
<isanbard@gmail.com>
Sat, 25 Apr 2009 21:06:53 +0000
(21:06 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Sat, 25 Apr 2009 21:06:53 +0000
(21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70076
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constants.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index ae3a85bc386925b51cdc2515d2c6a86492c42e4b..2e48097f3e7a469a8c6928af91b4614586f3a74e 100644
(file)
--- a/
include/llvm/Constants.h
+++ b/
include/llvm/Constants.h
@@
-845,7
+845,7
@@
public:
/// 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.
///