[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
Mon Jan 27 07:36:02 PST 2025
================
@@ -196,3 +196,12 @@ Options
// The following pointer may not become a 'int *const'.
int *changing_pointee = &value;
changing_pointee = &result;
+
+.. option:: AllowedTypes (default = '')
----------------
vbvictor wrote:
In this file all the options has default in its names. I assumed that I should stick to the style of the file.
Maybe It's better to leave this as is and create a new PR with fixes for all options, what do you think?
https://github.com/llvm/llvm-project/pull/122951
More information about the cfe-commits
mailing list