mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Add support for utostr(unsigned long)
llvm-svn: 9588
This commit is contained in:
parent
885a800b9d
commit
d744e41a11
@ -61,6 +61,10 @@ static inline std::string itostr(int64_t X) {
|
||||
}
|
||||
|
||||
|
||||
static inline std::string utostr(unsigned long X, bool isNeg = false) {
|
||||
return utostr((unsigned long long)X, isNeg);
|
||||
}
|
||||
|
||||
static inline std::string utostr(unsigned X, bool isNeg = false) {
|
||||
char Buffer[20];
|
||||
char *BufPtr = Buffer+19;
|
||||
|
Loading…
Reference in New Issue
Block a user