[PATCH] D131414: Add -misc-const-correctness to .clang-tidy
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 10:18:21 PDT 2022
aeubanks created this revision.
aeubanks added a reviewer: hokein.
Herald added subscribers: usaxena95, kadircet.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added subscribers: llvm-commits, ilya-biryukov, aheejin.
Herald added a project: LLVM.
I keep getting suggestions from clangd to add 'const' to a bunch of local variables, which is not LLVM's style. This suppresses those.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131414
Files:
.clang-tidy
Index: .clang-tidy
===================================================================
--- .clang-tidy
+++ .clang-tidy
@@ -1,4 +1,4 @@
-Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
+Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131414.450862.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/94665d63/attachment.bin>
More information about the llvm-commits
mailing list