summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-12-30 16:25:48 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-12-30 16:25:48 +0000
commitb6ad98224a0f3efbc5a4b2f591e8ca2ba081a8dc (patch)
treec6afef5b1fef22fe57404820c0a65c4b0ee87ae7 /clang/lib/Driver/Tools.cpp
parent12be928dfb1b08d1209de5558f324413ab6d3d0e (diff)
downloadbcm5719-llvm-b6ad98224a0f3efbc5a4b2f591e8ca2ba081a8dc.tar.gz
bcm5719-llvm-b6ad98224a0f3efbc5a4b2f591e8ca2ba081a8dc.zip
convert a bunch of callers from DataLayout::getIndexedOffset() to GEP::accumulateConstantOffset().
The later API is nicer than the former, and is correct regarding wrap-around offsets (if anyone cares). There are a few more places left with duplicated code, which I'll remove soon. llvm-svn: 171259
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud