[libc-commits] [libc] [libc][test] Align custom matchers with GoogleMock (PR #240616)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Mon Nov 9 23:12:17 PST 2026


================
@@ -31,11 +32,17 @@ TEST(LlvmLibcQueueTest, SList) {
   struct Contains : public testing::Matcher<Head> {
     string s;
     Contains(string s) : s(s) {}
-    bool match(Head head) {
+    // NOLINTNEXTLINE(readability-identifier-naming)
----------------
vonosmas wrote:

Is there a way to adjust clang-tidy configuration instead, rather than add this in several places across test harnesses?

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


More information about the libc-commits mailing list