1// RUN: clang-tidy -enable-check-profile -checks='-*,readability-function-size' %s %s -- 2>&1 | FileCheck --match-full-lines -implicit-check-not='{{warning:|error:}}' %s
2
3// CHECK: ===-------------------------------------------------------------------------===
4// CHECK-NEXT: clang-tidy checks profiling
5// CHECK-NEXT: ===-------------------------------------------------------------------------===
6// CHECK-NEXT: Total Execution Time: {{.*}} seconds ({{.*}} wall clock)
7
8// CHECK: {{.*}} --- Name ---
9// CHECK-NEXT: {{.*}} readability-function-size
10// CHECK-NEXT: {{.*}} Total
11
12// CHECK: ===-------------------------------------------------------------------------===
13// CHECK-NEXT: clang-tidy checks profiling
14// CHECK-NEXT: ===-------------------------------------------------------------------------===
15// CHECK-NEXT: Total Execution Time: {{.*}} seconds ({{.*}} wall clock)
16
17// CHECK: {{.*}} --- Name ---
18// CHECK-NEXT: {{.*}} readability-function-size
19// CHECK-NEXT: {{.*}} Total
20
21// CHECK-NOT: ===-------------------------------------------------------------------------===
22// CHECK-NOT: clang-tidy checks profiling
23// CHECK-NOT: ===-------------------------------------------------------------------------===
24// CHECK-NOT: Total Execution Time: {{.*}} seconds ({{.*}} wall clock)
25
26// CHECK-NOT: {{.*}} --- Name ---
27// CHECK-NOT: {{.*}} readability-function-size
28// CHECK-NOT: {{.*}} Total
29
30class A {
31 A() {}
32 ~A() {}
33};
34

source code of clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-enable-check-profile-two-tu.cpp