[clang-tools-extra] [clang-tidy] add AllowedTypes option to misc-const-correctness (PR #122951)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 27 07:28:37 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 = '')
----------------
EugeneZelenko wrote:

Defaults usually stated in last sentence of option description. Same above.

https://github.com/llvm/llvm-project/pull/122951


More information about the cfe-commits mailing list