From: Simon Pilgrim Date: Tue, 21 May 2019 11:37:54 +0000 (+0000) Subject: [CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructo... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f866974f64b8e4009a10af826e77bb8b5e25afe;p=clang [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 --- 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();