summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-01-06 05:24:50 +0000
committerJohn McCall <rjmccall@apple.com>2010-01-06 05:24:50 +0000
commit70aa5391dda1cedd296a126d42a909b8a1ee84a8 (patch)
tree9227a20b6199ef20a285f9d8d1c6220f362d707d /clang/lib/CodeGen/CodeGenModule.cpp
parentd01472beee3f003bff7d6e69547d06f5b69f8b08 (diff)
downloadbcm5719-llvm-70aa5391dda1cedd296a126d42a909b8a1ee84a8.tar.gz
bcm5719-llvm-70aa5391dda1cedd296a126d42a909b8a1ee84a8.zip
Significantly rework the calculation of effective integer-expression ranges
for -Wsign-compare and -Wconversion, and use that coordinated logic to drive both diagnostics. The new logic works more transparently with implicit conversions, conditional operators, etc., as well as bringing -Wconversion's ability to deal with pseudo-closed operations (e.g. arithmetic on shorts) to -Wsign-compare. Fixes PRs 5887, 5937, 5938, and 5939. llvm-svn: 92823
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud