brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 67fa906 Raw
32 lines · c
1// RUN: %clang_cc1 -analyzer-config-help 2>&1 | FileCheck %s2 3// CHECK: OVERVIEW: Clang Static Analyzer -analyzer-config Option List4//5// CHECK: USAGE: -analyzer-config <OPTION1=VALUE,OPTION2=VALUE,...>6//7// CHECK:        -analyzer-config OPTION1=VALUE, -analyzer-config8// CHECK-SAME:   OPTION2=VALUE, ...9//10// CHECK: OPTIONS:11//12// CHECK: aggressive-binary-operation-simplification13// CHECK:                   (bool) Whether SValBuilder should rearrange14// CHECK:                   comparisons and additive operations of symbolic15// CHECK:                   expressions which consist of a sum of a16// CHECK:                   symbol and a concrete integer into the format17// CHECK:                   where symbols are on the left-hand side18// CHECK:                   and the integer is on the right. This is19// CHECK:                   only done if both symbols and both concrete20// CHECK:                   integers are signed, greater than or equal21// CHECK:                   to the quarter of the minimum value of the22// CHECK:                   type and less than or equal to the quarter23// CHECK:                   of the maximum value of that type. A24// CHECK:                   + n25// CHECK:                   <OP> B + m becomes A - B <OP> m - n, where26// CHECK:                   A and B symbolic, n and m are integers.27// CHECK:                   <OP> is any of '==', '!=', '<', '<=', '>',28// CHECK:                   '>=', '+' or '-'. The rearrangement also29// CHECK:                   happens with '-' instead of '+' on either30// CHECK:                   or both side and also if any or both integers31// CHECK:                   are missing. (default: false)32