diff options
author | Patrik Hägglund <patrik.h.hagglund@ericsson.com> | 2012-11-28 12:13:12 +0000 |
---|---|---|
committer | Patrik Hägglund <patrik.h.hagglund@ericsson.com> | 2012-11-28 12:13:12 +0000 |
commit | 37d5be777c81393c54cae8b26241ebaca2ed9e27 (patch) | |
tree | f280bb536f3573d0285188efb29aaeedc1bf1cf0 /examples | |
parent | 1416edc30adbd53b2be863f7f3de56de4a4c9d0a (diff) | |
download | external_llvm-37d5be777c81393c54cae8b26241ebaca2ed9e27.zip external_llvm-37d5be777c81393c54cae8b26241ebaca2ed9e27.tar.gz external_llvm-37d5be777c81393c54cae8b26241ebaca2ed9e27.tar.bz2 |
Add error handling in getInt.
Accordingly, update a testcase with a broken datalayout string.
Also, we never parse negative numbers, because '-' is used as a
separator. Therefore, use unsigned as result type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions