commit | 1e7ad3993d8700488895fa372ecad55443f53485 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Sun Feb 28 09:55:58 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Sun Feb 28 09:55:58 2010 +0000 |
tree | 559719ee3c95466fd921a748a0bddfb75670f6fd | |
parent | 5b0a7741ad262315d6365250a2da2edb8ba37e69 [diff] |
Add an override to StringRef::getAsInteger which parses into an APInt. It gets its own implementation totally divorced from the (presumably performance-sensitive) routines which parse into a uint64_t. Add APInt::operator|=(uint64_t), which is situationally much better than using a full APInt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97381 91177308-0d34-0410-b5e6-96231b3b80d8