[CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructo...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 21 May 2019 11:37:54 +0000 (11:37 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 21 May 2019 11:37:54 +0000 (11:37 +0000)
llvm-svn: 361242

clang/lib/CodeGen/CodeGenModule.h

index 332177f66428f3435112958b5b1d8d25428f7bbf..6ab454fe6da906ea1383679f23263da91d5b1234 100644 (file)
@@ -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();