summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXXABI.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.h')
-rw-r--r--clang/lib/CodeGen/CGCXXABI.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h
index d0bb0e864f9..c248f1d64d4 100644
--- a/clang/lib/CodeGen/CGCXXABI.h
+++ b/clang/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,
OpenPOWER on IntegriCloud