aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2021-09-24 13:25:27 +0200
committerMichał Górny <mgorny@moritz.systems>2021-09-27 14:26:33 +0200
commit93b82f45bc3e58a526d2486841ea6d96b407807e (patch)
tree3cbf285312b12ca398b0aa33bb5feb7efa1f5627 /llvm/lib/Transforms/Utils/Local.cpp
parent1b242dccffc6bedcb99bd2626807f0286040491d (diff)
downloadllvm-93b82f45bc3e58a526d2486841ea6d96b407807e.zip
llvm-93b82f45bc3e58a526d2486841ea6d96b407807e.tar.gz
llvm-93b82f45bc3e58a526d2486841ea6d96b407807e.tar.bz2
[lldb] [Host] Refactor XML converting getters
Refactor the XML converting attribute and text getters to use LLVM API. While at it, remove some redundant error and missing XML support handling, as the called base functions do that anyway. Add tests for these methods. Note that this patch changes the getter behavior to be IMHO more correct. In particular: - negative and overflowing integers are now reported as failures to convert, rather than being wrapped over or capped - digits followed by text are now reported as failures to convert to double, rather than their numeric part being converted Differential Revision: https://reviews.llvm.org/D110410
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions