summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/module_section
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-01-29 23:51:16 +0000
committerRichard Trieu <rtrieu@google.com>2016-01-29 23:51:16 +0000
commitdcb5557f2d26089b0d5b9988c9b6178ae522ef0c (patch)
tree5871d004600d3a881126bdef698f3ff6279e613d /lldb/packages/Python/lldbsuite/test/python_api/module_section
parentc77e0ff7854f27e5ec81ce2efa98f84dda2bb363 (diff)
downloadbcm5719-llvm-dcb5557f2d26089b0d5b9988c9b6178ae522ef0c.tar.gz
bcm5719-llvm-dcb5557f2d26089b0d5b9988c9b6178ae522ef0c.zip
Improve -Wconstant-conversion
Switch the evaluation from isIntegerConstantExpr to EvaluateAsInt. EvaluateAsInt will evaluate more types of expressions than isIntegerConstantExpr. Move one case from -Wsign-conversion to -Wconstant-conversion. The case is: 1) Source and target types are signed 2) Source type is wider than the target type 3) The source constant value is positive 4) The conversion will store the value as negative in the target. llvm-svn: 259271
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/module_section')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud