1 | // RUN: %clang_cc1 -analyzer-config-help 2>&1 | FileCheck %s |
2 | // CHECK: OVERVIEW: Clang Static Analyzer -analyzer-config Option List |
3 | // |
4 | // CHECK: USAGE: clang -cc1 [CLANG_OPTIONS] -analyzer-config <OPTION1=VALUE,OPTION2=VALUE,...> |
5 | // |
6 | // CHCEK: clang -cc1 [CLANG_OPTIONS] -analyzer-config OPTION1=VALUE, -analyzer-config OPTION2=VALUE, ... |
7 | // |
8 | // CHECK: clang [CLANG_OPTIONS] -Xclang -analyzer-config -Xclang<OPTION1=VALUE,OPTION2=VALUE,...> |
9 | // |
10 | // CHECK: clang [CLANG_OPTIONS] -Xclang -analyzer-config -Xclang OPTION1=VALUE, -Xclang -analyzer-config -Xclang OPTION2=VALUE, ... |
11 | // |
12 | // |
13 | // CHECK: OPTIONS: |
14 | // |
15 | // CHECK: aggressive-binary-operation-simplification |
16 | // CHECK: (bool) Whether SValBuilder should rearrange |
17 | // CHECK: comparisons and additive operations of symbolic |
18 | // CHECK: expressions which consist of a sum of a |
19 | // CHECK: symbol and a concrete integer into the format |
20 | // CHECK: where symbols are on the left-hand side |
21 | // CHECK: and the integer is on the right. This is |
22 | // CHECK: only done if both symbols and both concrete |
23 | // CHECK: integers are signed, greater than or equal |
24 | // CHECK: to the quarter of the minimum value of the |
25 | // CHECK: type and less than or equal to the quarter |
26 | // CHECK: of the maximum value of that type. A |
27 | // CHECK: + n |
28 | // CHECK: <OP> B + m becomes A - B <OP> m - n, where |
29 | // CHECK: A and B symbolic, n and m are integers. |
30 | // CHECK: <OP> is any of '==', '!=', '<', '<=', '>', |
31 | // CHECK: '>=', '+' or '-'. The rearrangement also |
32 | // CHECK: happens with '-' instead of '+' on either |
33 | // CHECK: or both side and also if any or both integers |
34 | // CHECK: are missing. (default: false) |
35 | |