| commit | 566abee1e9828a7700b51e4d17ea08234fde3bb4 | [log] [tgz] |
|---|---|---|
| author | Anders Carlsson <andersca@mac.com> | Fri Nov 13 04:45:41 2009 +0000 |
| committer | Anders Carlsson <andersca@mac.com> | Fri Nov 13 04:45:41 2009 +0000 |
| tree | c92f80b56e260884fbbf1cb43a57fe80853051b7 | |
| parent | 03d8ed439f55b692634f9c71721ecfabbe347c4d [diff] |
Add a special BuildVirtualCall that's going to be used for building calls to destructors. This is needed because when compiling:
struct A {
virtual ~A();
};
void f(A* a) {
delete a;
}
A's deleting destructor should be called.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87083 91177308-0d34-0410-b5e6-96231b3b80d8