Add control of hex casing in APInt::toString
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 18 May 2023 09:10:21 +0000 (09:10 +0000)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Fri, 19 May 2023 13:20:47 +0000 (14:20 +0100)
commita17083403fa1829d5a3ae11ca4d3e25213dc6e86
tree92a7851d3bc4a3a0113e552ae8b575350cd1b0a2
parent094ab4781262b6cb49d57b0ecdf84b047c879295
Add control of hex casing in APInt::toString

This will be used in implementing arbitrary precision support to
FileCheck's numeric variables and expressions.

Reviewed By: foad, RKSimon

Differential Revision: https://reviews.llvm.org/D150879
llvm/include/llvm/ADT/APInt.h
llvm/lib/Support/APInt.cpp
llvm/unittests/ADT/APIntTest.cpp