aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitstream/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.hliao@gmail.com>2020-12-19 16:20:36 -0500
committerMichael Liao <michael.hliao@gmail.com>2021-01-06 17:00:14 -0500
commit2a29ce303451375bbf1de7c971296553ef5d9beb (patch)
tree7b1a16071f5854b030baa1e434c3f63052037b32 /llvm/lib/Bitstream/Reader/BitstreamReader.cpp
parentf9190c868137dcf43833db2c8e1e00c7acca67bc (diff)
downloadllvm-2a29ce303451375bbf1de7c971296553ef5d9beb.zip
llvm-2a29ce303451375bbf1de7c971296553ef5d9beb.tar.gz
llvm-2a29ce303451375bbf1de7c971296553ef5d9beb.tar.bz2
[hip] Fix HIP version parsing.
- Need trimming before parsing major or minor version numbers. This's required due to the different line ending on Windows. - In addition, the integer conversion may fail due to invalid char. Return that parsing function return `true` when the parsing fails. Differential Revision: https://reviews.llvm.org/D93587
Diffstat (limited to 'llvm/lib/Bitstream/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions