[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:25 PDT 2026
================
@@ -0,0 +1,49 @@
+.. title:: clang-tidy - readability-redundant-const
+
+readability-redundant-const
+===========================
+
+Detects redundant ``const`` specifiers on variable declarations.
----------------
vbvictor wrote:
lets add sentence that const can be redundant when variable is already constexpr.
https://github.com/llvm/llvm-project/pull/189733
More information about the cfe-commits
mailing list