[llvm-dev] How to convert an APSInt to string in llvm-13?

Alberto Barbaro via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 6 07:44:38 PST 2022


Hello,
until llvm-12 i could convert an APSInt to string just using toString() but
now in llvm-13 I think I'm supposed to use a different version of
toString(). I tried multiple times but nothing so far.

Could you help me to "convert" this line os << '[' <<
i->From().toString(10) << ", " << i->To().toString(10) << ']';?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20220106/67c11239/attachment.html>


More information about the llvm-dev mailing list