From f181dff0846c2236f72e3f13a819bb0c968ccfb8 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Mon, 8 Aug 2022 10:16:20 -0700 Subject: [PATCH] Add -misc-const-correctness to .clang-tidy I keep getting suggestions from clangd to add 'const' to a bunch of local variables, which is not LLVM's style. This suppresses those. Reviewed By: kadircet, aaron.ballman Differential Revision: https://reviews.llvm.org/D131414 --- .clang-tidy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index f3710d19f94f..7a42058034fb 100644 --- a/.clang-tidy +++ b/.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