[clang-tools-extra] [clang-tidy] Avoid overflow when dumping unsigned integer values (PR #85060)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 08:35:21 PDT 2024


ealcdan wrote:

Thanks for the review. I'm adding a test that checks that no '-1' is returned for misc-throw-by-value-catch-by-reference.MaxSize, that should pass even when no value is dumped for the option by default. I also added a test that sets 2⁶⁰ as a value for that option, and checks that the dumped value is 2⁶⁰ too.

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


More information about the cfe-commits mailing list