summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2016-08-17 16:02:45 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2016-08-17 16:02:45 +0000
commit002981baca64d923330af6d77022bdd0bbfaf2c6 (patch)
tree7b81b877ca9bd7f2205a0563db4d82934502475b /clang/lib/CodeGen/CGDebugInfo.cpp
parentc19dee734f3adfb800f1a9684fe661c827370885 (diff)
downloadbcm5719-llvm-002981baca64d923330af6d77022bdd0bbfaf2c6.tar.gz
bcm5719-llvm-002981baca64d923330af6d77022bdd0bbfaf2c6.zip
[analyzer] Add a checker for loss of sign or precision in integral casts.
This new checker tries to find execution paths on which implicit integral casts cause definite loss of information: a certainly-negative integer is converted to an unsigned integer, or an integer is definitely truncated to fit into a smaller type. Being implicit, such casts are likely to produce unexpected results. Patch by Daniel Marjamäki! Differential Revision: https://reviews.llvm.org/D13126 llvm-svn: 278941
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud