summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/analyzer-checker-option-help.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/analyzer-checker-option-help.c')
-rw-r--r--clang/test/Analysis/analyzer-checker-option-help.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/clang/test/Analysis/analyzer-checker-option-help.c b/clang/test/Analysis/analyzer-checker-option-help.c
new file mode 100644
index 00000000000..f59d8515823
--- /dev/null
+++ b/clang/test/Analysis/analyzer-checker-option-help.c
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -analyzer-checker-option-help 2>&1 | FileCheck %s
+
+// CHECK: OVERVIEW: Clang Static Analyzer Checker and Package Option List
+//
+// CHECK: USAGE: -analyzer-config <OPTION1=VALUE,OPTION2=VALUE,...>
+//
+// CHECK: -analyzer-config OPTION1=VALUE, -analyzer-config
+// CHECK-SAME: OPTION2=VALUE, ...
+//
+// CHECK: OPTIONS:
+//
+// CHECK: alpha.clone.CloneChecker:MinimumCloneComplexity
+// CHECK-SAME: (int) Ensures that every clone has at least
+// CHECK: the given complexity. Complexity is here
+// CHECK: defined as the total amount of children
+// CHECK: of a statement. This constraint assumes
+// CHECK: the first statement in the group is representative
+// CHECK: for all other statements in the group in
+// CHECK: terms of complexity. (default: 50)
OpenPOWER on IntegriCloud