[clang-tools-extra] [clang-tidy] Add bugprone-container-bounds-check-overflow check (PR #206349)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 00:25:47 PDT 2026


================
@@ -0,0 +1,33 @@
+.. title:: clang-tidy - bugprone-container-bounds-check-overflow
+
+bugprone-container-bounds-check-overflow
+========================================
+
+This check finds potential overflow in unsigned integer addition before comparison with a container's
----------------
Harald-R wrote:

@EugeneZelenko thanks, I have aligned the two statements. Please let me know if other similar changes should be made.

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


More information about the cfe-commits mailing list