From: Simon Pilgrim Date: Tue, 21 May 2019 11:37:54 +0000 (+0000) Subject: [CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructo... X-Git-Tag: llvmorg-9.0.0-rc1~5085 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45330fee4c2053c03e4446ce2a4da3769ca7a5a7;p=platform%2Fupstream%2Fllvm.git [CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructor. NFCI. llvm-svn: 361242 --- diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 332177f66428..6ab454fe6da9 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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();