[clang-tools-extra] [clang-tidy] Ignore standard tag dispatch types in readability-named-parameter (PR #208730)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 12 00:42:58 PDT 2026


================
@@ -33,3 +38,10 @@ Options
    If set to `true`, the check will insert parameter names without comments for
    forward declarations only. Otherwise, the check will insert parameter names
    as comments (e.g., ``/*param*/``). Default is `false`.
+
+.. option:: TagDispatchTypes
+
+   A semicolon-separated list of fully-qualified type names that should be
+   treated as tag dispatch types. Parameters of these types are not required to
+   be named. Default is
+   ``std::allocator_arg_t;std::defer_lock_t;std::default_sentinel_t;std::from_range_t;std::in_place_t;std::nothrow_t;std::nostopstate_t;std::piecewise_construct_t;std::sorted_equivalent_t;std::sorted_unique_t;std::try_to_lock_t;std::unexpect_t``.
----------------
vbvictor wrote:

Format to shorter line

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


More information about the cfe-commits mailing list