2014-09-04 22:23:36 +08:00
|
|
|
// RUN: clang-tidy -dump-config %S/Inputs/config-files/- -- | FileCheck %s -check-prefix=CHECK-BASE
|
2015-02-05 22:50:17 +08:00
|
|
|
// CHECK-BASE: Checks: {{.*}}from-parent
|
2014-09-04 22:23:36 +08:00
|
|
|
// CHECK-BASE: HeaderFilterRegex: parent
|
|
|
|
// RUN: clang-tidy -dump-config %S/Inputs/config-files/1/- -- | FileCheck %s -check-prefix=CHECK-CHILD1
|
2015-02-05 22:50:17 +08:00
|
|
|
// CHECK-CHILD1: Checks: {{.*}}from-child1
|
2014-09-04 22:23:36 +08:00
|
|
|
// CHECK-CHILD1: HeaderFilterRegex: child1
|
|
|
|
// RUN: clang-tidy -dump-config %S/Inputs/config-files/2/- -- | FileCheck %s -check-prefix=CHECK-CHILD2
|
2015-02-05 22:50:17 +08:00
|
|
|
// CHECK-CHILD2: Checks: {{.*}}from-parent
|
2014-09-04 22:23:36 +08:00
|
|
|
// CHECK-CHILD2: HeaderFilterRegex: parent
|
|
|
|
// RUN: clang-tidy -dump-config -checks='from-command-line' -header-filter='from command line' %S/Inputs/config-files/- -- | FileCheck %s -check-prefix=CHECK-COMMAND-LINE
|
2015-02-05 22:50:17 +08:00
|
|
|
// CHECK-COMMAND-LINE: Checks: {{.*}}from-parent,from-command-line
|
2014-09-04 22:23:36 +08:00
|
|
|
// CHECK-COMMAND-LINE: HeaderFilterRegex: from command line
|