mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 09:36:08 +00:00

Summary: This change moves tests for checkers and infrastructure into separate directories, making it easier to find infrastructure tests. Tests for checkers are already easy to find because they are named after the checker. Tests for infrastructure were difficult to find because they were outnumbered by tests for checkers. Now they are in a separate directory. Reviewers: jfb, jdoerfert, lebedev.ri Subscribers: srhines, nemanjai, aheejin, kbarton, christof, mgrang, arphaman, jfb, lebedev.ri, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68807 llvm-svn: 374540
25 lines
1.0 KiB
C++
25 lines
1.0 KiB
C++
// RUN: clang-tidy -enable-check-profile -checks='-*,readability-function-size' %s -- 2>&1 | FileCheck --match-full-lines -implicit-check-not='{{warning:|error:}}' %s
|
|
|
|
// CHECK: ===-------------------------------------------------------------------------===
|
|
// CHECK-NEXT: clang-tidy checks profiling
|
|
// CHECK-NEXT: ===-------------------------------------------------------------------------===
|
|
// CHECK-NEXT: Total Execution Time: {{.*}} seconds ({{.*}} wall clock)
|
|
|
|
// CHECK: {{.*}} --- Name ---
|
|
// CHECK-NEXT: {{.*}} readability-function-size
|
|
// CHECK-NEXT: {{.*}} Total
|
|
|
|
// CHECK-NOT: ===-------------------------------------------------------------------------===
|
|
// CHECK-NOT: clang-tidy checks profiling
|
|
// CHECK-NOT: ===-------------------------------------------------------------------------===
|
|
// CHECK-NOT: Total Execution Time: {{.*}} seconds ({{.*}} wall clock)
|
|
|
|
// CHECK-NOT: {{.*}} --- Name ---
|
|
// CHECK-NOT: {{.*}} readability-function-size
|
|
// CHECK-NOT: {{.*}} Total
|
|
|
|
class A {
|
|
A() {}
|
|
~A() {}
|
|
};
|