aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-12-12 09:59:53 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-12-12 09:59:53 +0000
commit38ca8d1298ed1bf4512be920917559766a498916 (patch)
treee0e0d3a533bed2f431a53975b91b9f49fc653560 /lib/Basic/Targets.cpp
parent3c69dc46d5391d5171875310be3edf8ca94db352 (diff)
Clean up the helpers used to compute the usual arithmetic conversions' result
type. Localize all of the logic within a single function rather than spreading it throughout the class. Also fixes a buglet where we failed to check for a RHS arithmetic type wider than the LHS and return its canonical type. I've yet to produce a test case that breaks because of this, but it was spotted by inspection by folks on the IRC channel and is obviously correct now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions