[clang] Avoid printing overly large integer. (PR #75902)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 20 17:08:51 PST 2023


shafik wrote:

> I agree with @tbaederr, fixing the underlying issue - either by optimizing divide (good luck!) or printing in hexadecimal, seems like a better solution. At the minimum, we should have a fixme comment to explain the restriction
> 
> @tbaederr @erichkeane @shafik opinion?

I agree the hexadecimal option feel like the better solution. Should we also have a diagnostic when we hit this case?

Also as mentioned we need some test cases as well. 

https://github.com/llvm/llvm-project/pull/75902


More information about the cfe-commits mailing list