[clang-tools-extra] [clang-tidy][NFC] Enable `performance-unnecessary-value-param` in the codebase (PR #163686)

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 9 17:04:57 PST 2025


================
@@ -76,7 +77,7 @@ void NonTrivialTypesLibcMemoryCallsCheck::registerMatchers(
   auto IsRecordSizeOf =
       expr(sizeOfExpr(hasArgumentOfType(equalsBoundNode("Record"))));
   auto ArgChecker = [&](Matcher<CXXRecordDecl> RecordConstraint,
----------------
localspook wrote:

Hmm, that's indeed strange; I just went back and the check correctly fires here. Maybe I manually undid it for whatever reason?

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


More information about the cfe-commits mailing list