aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2021-09-24 10:28:58 +0200
committerMichał Górny <mgorny@moritz.systems>2021-09-24 13:24:58 +0200
commita6daf99228bc16fb7f2596d67a0d00fef327ace5 (patch)
treed308e52fd89766aab14f8d876451db5f7c2c4a68 /llvm/lib/Bitcode
parente4e95f14f15aceb2641c2b917eca58aaf988c4a7 (diff)
downloadllvm-a6daf99228bc16fb7f2596d67a0d00fef327ace5.zip
llvm-a6daf99228bc16fb7f2596d67a0d00fef327ace5.tar.gz
llvm-a6daf99228bc16fb7f2596d67a0d00fef327ace5.tar.bz2
[lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API
Refactor Socket::DecodeHostAndPort() to use LLVM API over redundant LLDB API. In particular, this means llvm::Regex, llvm::Error return type and llvm::to_integer(). While at it, change the port type from int32_t to uint16_t. The method never returns any value outside this range, and using the correct type allows us to rely on getAsInteger()'s implicit overflow check. Differential Revision: https://reviews.llvm.org/D110391
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions