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

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 07:14:46 PDT 2024


================
@@ -0,0 +1,20 @@
+.. title:: clang-tidy - cppcoreguidelines-avoid-bounds-errors
+
+cppcoreguidelines-avoid-bounds-errors
+=====================================
+
+This check enforces the `SL.con.3 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slcon3-avoid-bounds-errors>` guideline.
----------------
EugeneZelenko wrote:

This usually placed at the end of documentation.

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


More information about the cfe-commits mailing list