[clang-tools-extra] [clang-tidy] Adds readability-redundant-const check (PR #189733)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 5 02:30:24 PDT 2026
================
@@ -0,0 +1,49 @@
+.. title:: clang-tidy - readability-redundant-const
+
+readability-redundant-const
+===========================
+
+Detects redundant ``const`` specifiers on variable declarations.
+
+Examples:
+
+.. code-block:: c++
+
+ // Finds:
----------------
vbvictor wrote:
Lets remove this everywhere, should be obvious
https://github.com/llvm/llvm-project/pull/189733
More information about the cfe-commits
mailing list