blob: bc8ed09d43e1725cebb1e26af9461365a7101e0e [file] [log] [blame]
Kristof Umanne8df27d2019-05-23 20:47:28 +00001// RUN: %clang_cc1 -analyzer-checker-option-help 2>&1 | FileCheck %s
2
Kristof Umann7e55ed82019-05-23 22:07:16 +00003// RUN: %clang_cc1 -analyzer-checker-option-help-developer \
4// RUN: 2>&1 | FileCheck %s -check-prefix=CHECK-HIDDEN
5
Kristof Umanne8df27d2019-05-23 20:47:28 +00006// CHECK: OVERVIEW: Clang Static Analyzer Checker and Package Option List
7//
8// CHECK: USAGE: -analyzer-config <OPTION1=VALUE,OPTION2=VALUE,...>
9//
10// CHECK: -analyzer-config OPTION1=VALUE, -analyzer-config
11// CHECK-SAME: OPTION2=VALUE, ...
12//
13// CHECK: OPTIONS:
14//
15// CHECK: alpha.clone.CloneChecker:MinimumCloneComplexity
16// CHECK-SAME: (int) Ensures that every clone has at least
17// CHECK: the given complexity. Complexity is here
18// CHECK: defined as the total amount of children
19// CHECK: of a statement. This constraint assumes
20// CHECK: the first statement in the group is representative
21// CHECK: for all other statements in the group in
22// CHECK: terms of complexity. (default: 50)
Kristof Umann7e55ed82019-05-23 22:07:16 +000023
24// CHECK-NOT: optin.cplusplus.UninitializedObject:NotesAsWarnings
25// CHECK-HIDDEN: optin.cplusplus.UninitializedObject:NotesAsWarnings