[clang-tools-extra] [clang-tidy] offer option to check sugared types in avoid-c-arrays check (PR #131468)

via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 16 07:31:46 PDT 2025


================
@@ -72,3 +72,9 @@ can be either ``char* argv[]`` or ``char** argv``, but cannot be
   .. code:: c++
 
     const char name[] = "Some name";
+
+.. option:: CheckSugaredTypes
+
+  When set to `true` (default is `false`), type aliases, decltypes as well as
----------------
EugeneZelenko wrote:

Please make `Default is false` dedicated sentence at the end of option description.

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


More information about the cfe-commits mailing list