diff options
Diffstat (limited to 'lib/AST/CXXABI.h')
-rw-r--r-- | lib/AST/CXXABI.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AST/CXXABI.h b/lib/AST/CXXABI.h index 0d9c869..6d67d9a 100644 --- a/lib/AST/CXXABI.h +++ b/lib/AST/CXXABI.h @@ -27,9 +27,9 @@ class CXXABI { public: virtual ~CXXABI(); - /// Returns the size of a member pointer in multiples of the target - /// pointer size. - virtual unsigned getMemberPointerSize(const MemberPointerType *MPT) const = 0; + /// Returns the width and alignment of a member pointer in bits. + virtual std::pair<uint64_t, unsigned> + getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const = 0; /// Returns the default calling convention for C++ methods. virtual CallingConv getDefaultMethodCallConv(bool isVariadic) const = 0; |