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

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 13 10:17:39 PDT 2024


PiotrZSL wrote:

And just one comment, when this check uses max value as "limit", this behavior is also a reason why support for optional values were added. For me in this case check & description should be updated to handle this config as an optional, instead of mentioning max u64 in documentation. As for support for unsigned values, that's welcome too regardless.

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


More information about the cfe-commits mailing list