summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-07-08 20:20:06 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-07-08 20:20:06 +0000
commite6d3395d78d0b0cb2e217898de4eea9cfdbe7f71 (patch)
tree4fe90035616928bbce333325684ba2c5c905ff97 /llvm/lib/Support/GraphWriter.cpp
parentf331327c6a70e80fff4b4f1cebec0f81a0064748 (diff)
downloadbcm5719-llvm-e6d3395d78d0b0cb2e217898de4eea9cfdbe7f71.tar.gz
bcm5719-llvm-e6d3395d78d0b0cb2e217898de4eea9cfdbe7f71.zip
Fix Sema for compares with _Atomic vars.
Use UsualArithmeticConversions unconditionally in analysis of comparisons and conditional operators: the method performs the usual arithmetic conversions if both sides are arithmetic, and usual unary conversions if they are not. This is just a cleanup for conditional operators; for comparisons, it fixes the issue that we would try to check isArithmetic() on an atomic type. Also, fix GetExprRange() in SemaChecking.cpp so it deals with variables of atomic type correctly. Fixes PR15537. llvm-svn: 185857
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud