1 | // RUN: clang-tidy -config-file=%S/Inputs/config-file/config-file -dump-config -- | FileCheck %s -check-prefix=CHECK-BASE |
2 | // CHECK-BASE: Checks: {{.*}}hicpp-uppercase-literal-suffix |
3 | // RUN: clang-tidy -config-file=%S/Inputs/config-file/config-file-spaces --list-checks -- | FileCheck %s -check-prefix=CHECK-SPACES |
4 | // CHECK-SPACES: Enabled checks: |
5 | // CHECK-SPACES-NEXT: hicpp-uppercase-literal-suffix |
6 | // CHECK-SPACES-NEXT: hicpp-use-auto |
7 | // CHECK-SPACES-NEXT: hicpp-use-emplace |
8 | // CHECK-SPACES-EMPTY: |
9 | // RUN: clang-tidy -config-file=%S/Inputs/config-file/config-file-list-dash --list-checks -- | FileCheck %s -check-prefix=CHECK-LIST-DASH |
10 | // CHECK-LIST-DASH: Enabled checks: |
11 | // CHECK-LIST-DASH-NEXT: hicpp-uppercase-literal-suffix |
12 | // CHECK-LIST-DASH-NEXT: hicpp-use-auto |
13 | // CHECK-LIST-DASH-NEXT: hicpp-use-emplace |
14 | // CHECK-LIST-DASH-EMPTY: |
15 | // RUN: clang-tidy -config-file=%S/Inputs/config-file/config-file-list-bracket --list-checks -- | FileCheck %s -check-prefix=CHECK-LIST-BRACKET |
16 | // CHECK-LIST-BRACKET: Enabled checks: |
17 | // CHECK-LIST-BRACKET-NEXT: hicpp-uppercase-literal-suffix |
18 | // CHECK-LIST-BRACKET-NEXT: hicpp-use-auto |
19 | // CHECK-LIST-BRACKET-NEXT: hicpp-use-emplace |
20 | // CHECK-LIST-BRACKET-EMPTY: |
21 | |