summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalUnion.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-08-13 23:46:05 +0000
committerJordan Rose <jordan_rose@apple.com>2012-08-13 23:46:05 +0000
commitce6c99a559821f6073b1a990f91510cf57ebdaad (patch)
tree86343a8c7e43764d267703fc0a334735fdff6032 /llvm/lib/CodeGen/LiveIntervalUnion.cpp
parent710f6b1259fb9f13cfa34b3d093d6130b0fb8b3a (diff)
downloadbcm5719-llvm-ce6c99a559821f6073b1a990f91510cf57ebdaad.tar.gz
bcm5719-llvm-ce6c99a559821f6073b1a990f91510cf57ebdaad.zip
[analyzer] Reduce code duplication: make CXXDestructorCall a CXXInstanceCall.
While there is now some duplication between SimpleCall and the CXXInstanceCall sub-hierarchy, this is much better than copy-and-pasting the devirtualization logic shared by both instance methods and destructors. An unfortunate side effect is that there is no longer a single CallEvent type that corresponds to "calls written as CallExprs". For the most part this is a good thing, but the checker callback eval::Call still takes a CallExpr rather than a CallEvent (since we're not sure if we want to allow checkers to evaluate other kinds of calls). A mistake here will be caught by a cast<> in CheckerManager::runCheckersForEvalCall. No functionality change. llvm-svn: 161809
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalUnion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud