From 9f866974f64b8e4009a10af826e77bb8b5e25afe Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 21 May 2019 11:37:54 +0000 Subject: [PATCH] [CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructor. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361242 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 332177f664..6ab454fe6d 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -254,7 +254,8 @@ public: /// have different helper functions. CharUnits Alignment; - BlockByrefHelpers(CharUnits alignment) : Alignment(alignment) {} + BlockByrefHelpers(CharUnits alignment) + : CopyHelper(nullptr), DisposeHelper(nullptr), Alignment(alignment) {} BlockByrefHelpers(const BlockByrefHelpers &) = default; virtual ~BlockByrefHelpers(); -- 2.40.0