summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-05-09 21:01:17 +0000
committerReid Kleckner <reid@kleckner.net>2013-05-09 21:01:17 +0000
commitf632730ffb0b8ca531a35e737b29cc9f9774ca1d (patch)
tree1544a64b88eba9e29ec09b6df342e95f5fd04f71 /lib/CodeGen/CodeGenModule.h
parent089db2e3af0b6166a8e2253c453eccf551ddfbd8 (diff)
downloadclang-f632730ffb0b8ca531a35e737b29cc9f9774ca1d.tar.gz
clang-f632730ffb0b8ca531a35e737b29cc9f9774ca1d.tar.bz2
clang-f632730ffb0b8ca531a35e737b29cc9f9774ca1d.tar.xz
[ms-cxxabi] Implement member pointer conversions
Summary: This only supports converting along non-virtual inheritance paths by changing the field offset or the non-virtual base adjustment. This implements three kinds of conversions: - codegen for Value conversions - Constant emission for APValue - Constant folding for CastExprs In almost all constant initialization settings EmitMemberPointer(APValue) is called, except when the expression contains a reinterpret cast. reinterpret casts end up being a big corner case because the null value changes between different kinds of member pointers. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D741 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions