diff options
| author | Warren Hunt <whunt@google.com> | 2014-06-06 22:12:37 +0000 |
|---|---|---|
| committer | Warren Hunt <whunt@google.com> | 2014-06-06 22:12:37 +0000 |
| commit | dafcb8f96ffb362ca0304f068c8d8afd35dff9f1 (patch) | |
| tree | 148f788913cd8dd7f6937772cc5d8a35415f0632 /lib/CodeGen/CGExpr.cpp | |
| parent | ef6b9cd1c8f0eb49eff480a3ea37b53baffd61f5 (diff) | |
| download | clang-dafcb8f96ffb362ca0304f068c8d8afd35dff9f1.tar.gz clang-dafcb8f96ffb362ca0304f068c8d8afd35dff9f1.tar.bz2 clang-dafcb8f96ffb362ca0304f068c8d8afd35dff9f1.tar.xz | |
[MS-ABI] Implement dynamic_cast
This patch implements call lower from dynamic_cast to __RTDynamicCast
and __RTCastToVoid. Test cases are included. A feature of note is that
helper function getPolymorphicOffset is placed in such a way that it can
be used by EmitTypeid (to be implemented in a later patch) without being
moved. Details are included as comments directly in the code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
