[llvm-branch-commits] [clang-tools-extra] [clang-tidy][docs] Rewrite short check docs to Markdown (PR #210467)
Zeyi Xu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Jul 19 22:06:41 PDT 2026
================
@@ -1,13 +1,13 @@
-.. title:: clang-tidy - cppcoreguidelines-pro-bounds-array-to-pointer-decay
+```{title} clang-tidy - cppcoreguidelines-pro-bounds-array-to-pointer-decay
+```
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
-===================================================
+# cppcoreguidelines-pro-bounds-array-to-pointer-decay
This check flags all array to pointer decays.
-Pointers should not be used as arrays. ``span<T>`` is a bounds-checked, safe
+Pointers should not be used as arrays. `span<T>` is a bounds-checked, safe
alternative to using pointers to access arrays.
-This rule is part of the `Bounds safety (Bounds 3)
-<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#pro-bounds-decay>`_
+This rule is part of the [Bounds safety (Bounds 3)](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#pro-bounds-decay)
profile from the C++ Core Guidelines.
+
----------------
zeyi2 wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/210467
More information about the llvm-branch-commits
mailing list