[clang-tools-extra] Enforce SL.con.3: Add check to replace operator[] with at() [Cont.] (PR #95220)

Paul Heidekrüger via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 03:57:39 PDT 2024


================
@@ -160,6 +160,11 @@ New checks
   Replaces nested ``std::min`` and ``std::max`` calls with an initializer list
   where applicable.
 
+- New :doc:`cppcoreguidelines-pro-bounds-avoid-unchecked-container-accesses
----------------
PBHDK wrote:

Are you referring to a double "it" somewhere? I am not seeing the error in line 163 or line 150?

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


More information about the cfe-commits mailing list