https://github.com/zeyi2 updated 
https://github.com/llvm/llvm-project/pull/187454

>From 814e14cf81dbcf8d4788c7d0665d06926cf61148 Mon Sep 17 00:00:00 2001
From: mtx <[email protected]>
Date: Thu, 19 Mar 2026 16:00:10 +0800
Subject: [PATCH] ~

---
 .../infrastructure/clang-tidy-store-check-profile-one-tu.cpp    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-store-check-profile-one-tu.cpp
 
b/clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-store-check-profile-one-tu.cpp
index 192fbf546d203..9800881af9292 100644
--- 
a/clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-store-check-profile-one-tu.cpp
+++ 
b/clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-store-check-profile-one-tu.cpp
@@ -1,9 +1,11 @@
 // RUN: rm -rf %t.dir/out
 // RUN: clang-tidy -enable-check-profile 
-checks='-*,readability-function-size' -store-check-profile=%t.dir/out %s -- 
2>&1 | not FileCheck --match-full-lines 
-implicit-check-not='{{warning:|error:}}' -check-prefix=CHECK-CONSOLE %s
 // RUN: cat %t.dir/out/*-clang-tidy-store-check-profile-one-tu.cpp.json | 
FileCheck --match-full-lines -implicit-check-not='{{warning:|error:}}' 
-check-prefix=CHECK-FILE %s
+// RUN: cat %t.dir/out/*-clang-tidy-store-check-profile-one-tu.cpp.json | 
%python -c "import sys, json; json.load(sys.stdin)"
 // RUN: rm -rf %t.dir/out
 // RUN: clang-tidy -enable-check-profile 
-checks='-*,readability-function-size' -store-check-profile=%t.dir/out %s -- 
2>&1
 // RUN: cat %t.dir/out/*-clang-tidy-store-check-profile-one-tu.cpp.json | 
FileCheck --match-full-lines -implicit-check-not='{{warning:|error:}}' 
-check-prefix=CHECK-FILE %s
+// RUN: cat %t.dir/out/*-clang-tidy-store-check-profile-one-tu.cpp.json | 
%python -c "import sys, json; json.load(sys.stdin)"
 
 // CHECK-CONSOLE-NOT: 
===-------------------------------------------------------------------------===
 // CHECK-CONSOLE-NOT: {{.*}}  --- Name ---

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to