1 // RUN: %clang_cc1 -analyzer-checker-help \
2 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE
4 // RUN: %clang_cc1 -analyzer-checker-help-alpha \
5 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-ALPHA
7 // RUN: %clang_cc1 -analyzer-checker-help-developer \
8 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-DEVELOPER
10 // RUN: %clang_cc1 -analyzer-checker-help-developer \
11 // RUN: -analyzer-checker-help-alpha \
12 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-DEVELOPER-ALPHA
14 // RUN: %clang_cc1 -analyzer-checker-help \
15 // RUN: -analyzer-checker-help-alpha \
16 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE-ALPHA
18 // RUN: %clang_cc1 -analyzer-checker-help \
19 // RUN: -analyzer-checker-help-developer \
20 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE-DEVELOPER
22 // RUN: %clang_cc1 -analyzer-checker-help \
23 // RUN: -analyzer-checker-help-alpha \
24 // RUN: -analyzer-checker-help-developer \
25 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE-ALPHA-DEVELOPER
27 // CHECK-STABLE-NOT: alpha.unix.Chroot
28 // CHECK-DEVELOPER-NOT: alpha.unix.Chroot
29 // CHECK-ALPHA: alpha.unix.Chroot
31 // Note that alpha.cplusplus.IteratorModeling is not only an alpha, but also a
32 // hidden checker. In this case, we'd only like to see it in the developer list.
33 // CHECK-ALPHA-NOT: alpha.cplusplus.IteratorModeling
34 // CHECK-DEVELOPER: alpha.cplusplus.IteratorModeling
36 // CHECK-STABLE: core.DivideZero
37 // CHECK-DEVELOPER-NOT: core.DivideZero
38 // CHECK-ALPHA-NOT: core.DivideZero
40 // CHECK-STABLE-NOT: debug.ConfigDumper
41 // CHECK-DEVELOPER: debug.ConfigDumper
42 // CHECK-ALPHA-NOT: debug.ConfigDumper
45 // CHECK-STABLE-ALPHA: alpha.unix.Chroot
46 // CHECK-DEVELOPER-ALPHA: alpha.unix.Chroot
47 // CHECK-STABLE-DEVELOPER-NOT: alpha.unix.Chroot
49 // CHECK-STABLE-ALPHA: core.DivideZero
50 // CHECK-DEVELOPER-ALPHA-NOT: core.DivideZero
51 // CHECK-STABLE-DEVELOPER: core.DivideZero
53 // CHECK-STABLE-ALPHA-NOT: debug.ConfigDumper
54 // CHECK-DEVELOPER-ALPHA: debug.ConfigDumper
55 // CHECK-STABLE-DEVELOPER: debug.ConfigDumper
58 // CHECK-STABLE-ALPHA-DEVELOPER: alpha.unix.Chroot
59 // CHECK-STABLE-ALPHA-DEVELOPER: core.DivideZero
60 // CHECK-STABLE-ALPHA-DEVELOPER: debug.ConfigDumper