1 // RUN: %clang_cc1 -analyzer-checker-option-help \
2 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE
4 // RUN: %clang_cc1 -analyzer-checker-option-help-alpha \
5 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-ALPHA
7 // RUN: %clang_cc1 -analyzer-checker-option-help-developer \
8 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-DEVELOPER
10 // RUN: %clang_cc1 -analyzer-checker-option-help-developer \
11 // RUN: -analyzer-checker-option-help-alpha \
12 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-DEVELOPER-ALPHA
14 // RUN: %clang_cc1 -analyzer-checker-option-help \
15 // RUN: -analyzer-checker-option-help-alpha \
16 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE-ALPHA
18 // RUN: %clang_cc1 -analyzer-checker-option-help \
19 // RUN: -analyzer-checker-option-help-developer \
20 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE-DEVELOPER
22 // RUN: %clang_cc1 -analyzer-checker-option-help \
23 // RUN: -analyzer-checker-option-help-alpha \
24 // RUN: -analyzer-checker-option-help-developer \
25 // RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-STABLE-ALPHA-DEVELOPER
27 // CHECK-STABLE: OVERVIEW: Clang Static Analyzer Checker and Package Option List
29 // CHECK-STABLE: USAGE: -analyzer-config <OPTION1=VALUE,OPTION2=VALUE,...>
31 // CHECK-STABLE: -analyzer-config OPTION1=VALUE, -analyzer-config
32 // CHECK-STABLE-SAME: OPTION2=VALUE, ...
34 // CHECK-STABLE: OPTIONS:
36 // CHECK-STABLE: cplusplus.Move:WarnOn
37 // CHECK-STABLE-SAME: (string) With setting "KnownsOnly" warn
39 // CHECK-STABLE-NOT: debug.AnalysisOrder:*
40 // CHECK-DEVELOPER: debug.AnalysisOrder:*
41 // CHECK-ALPHA-NOT: debug.AnalysisOrder:*
43 // CHECK-STABLE-NOT: optin.cplusplus.UninitializedObject:IgnoreGuardedFields
44 // CHECK-DEVELOPER-NOT: optin.cplusplus.UninitializedObject:IgnoreGuardedFields
45 // CHECK-ALPHA: optin.cplusplus.UninitializedObject:IgnoreGuardedFields
47 // CHECK-STABLE: optin.performance.Padding:AllowedPad
48 // CHECK-DEVELOPER-NOT: optin.performance.Padding:AllowedPad
49 // CHECK-ALPHA-NOT: optin.performance.Padding:AllowedPad
52 // CHECK-STABLE-ALPHA-NOT: debug.AnalysisOrder:*
53 // CHECK-DEVELOPER-ALPHA: debug.AnalysisOrder:*
54 // CHECK-STABLE-DEVELOPER: debug.AnalysisOrder:*
56 // CHECK-STABLE-ALPHA: optin.cplusplus.UninitializedObject:IgnoreGuardedFields
57 // CHECK-DEVELOPER-ALPHA: optin.cplusplus.UninitializedObject:IgnoreGuardedFields
58 // CHECK-STABLE-DEVELOPER-NOT: optin.cplusplus.UninitializedObject:IgnoreGuardedFields
60 // CHECK-STABLE-ALPHA: optin.performance.Padding:AllowedPad
61 // CHECK-DEVELOPER-ALPHA-NOT: optin.performance.Padding:AllowedPad
62 // CHECK-STABLE-DEVELOPER: optin.performance.Padding:AllowedPad
65 // CHECK-STABLE-ALPHA-DEVELOPER: debug.AnalysisOrder:*
66 // CHECK-STABLE-ALPHA-DEVELOPER: optin.cplusplus.UninitializedObject:IgnoreGuardedFields
67 // CHECK-STABLE-ALPHA-DEVELOPER: optin.performance.Padding:AllowedPad