[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
================
@@ -19,11 +20,26 @@ NamedParameterCheck::NamedParameterCheck(StringRef Name,
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context),
InsertPlainNamesInForwardDecls(
- Options.get("InsertPlainNamesInForwardDecls", false)) {}
+ Options.get("InsertPlainNamesInForwardDecls", false)),
+ TagDispatchTypes(utils::options::parseStringList(
+ Options.get("TagDispatchTypes", "std::allocator_arg_t;"
+ "std::defer_lock_t;"
----------------
vbvictor wrote:
Place this list into separate global variable of this file
https://github.com/llvm/llvm-project/pull/208730
More information about the cfe-commits
mailing list