aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCXXABI.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CGCXXABI.h')
-rw-r--r--lib/CodeGen/CGCXXABI.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGCXXABI.h b/lib/CodeGen/CGCXXABI.h
index d0bb0e864f..c248f1d64d 100644
--- a/lib/CodeGen/CGCXXABI.h
+++ b/lib/CodeGen/CGCXXABI.h
@@ -59,10 +59,10 @@ public:
// Manipulations on constant expressions.
- /// \brief Returns true if zero-initializing the given type requires
- /// a constant other than the LLVM null value.
- virtual bool RequiresNonZeroInitializer(QualType T);
- virtual bool RequiresNonZeroInitializer(const CXXRecordDecl *D);
+ /// \brief Returns true if the given member pointer can be
+ /// zero-initialized (in the C++ sense) with an LLVM
+ /// zeroinitialized.
+ virtual bool isZeroInitializable(const MemberPointerType *MPT);
virtual llvm::Constant *
EmitMemberFunctionPointerConversion(llvm::Constant *C,