From 45330fee4c2053c03e4446ce2a4da3769ca7a5a7 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 21 May 2019 11:37:54 +0000 Subject: [CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructor. NFCI. llvm-svn: 361242 --- clang/lib/CodeGen/CodeGenModule.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenModule.h') diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 332177f..6ab454f 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(); -- cgit v1.1