[clang-tools-extra] [clang-tidy] add AllowedTypes option to misc-const-correctness (PR #122951)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 15 09:24:38 PST 2025
================
@@ -260,6 +260,11 @@ Changes in existing checks
<clang-tidy/checks/cppcoreguidelines/pro-type-union-access>` check to
report a location even when the member location is not valid.
+- Improved :doc:`misc-const-correctness
+ <clang-tidy/checks/misc/const-correctness>` check by adding
+ the option ``AllowedTypes``, that excludes specified types
----------------
vbvictor wrote:
Done
https://github.com/llvm/llvm-project/pull/122951
More information about the cfe-commits
mailing list