summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-05-21 11:37:54 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-05-21 11:37:54 +0000
commit45330fee4c2053c03e4446ce2a4da3769ca7a5a7 (patch)
tree8a4aaa53701923ff277c38dfac7993b81a18768b /clang/lib/CodeGen/CodeGenModule.h
parent2aee73f591da2fb5f9d26b72ac06ee03b4211998 (diff)
downloadbcm5719-llvm-45330fee4c2053c03e4446ce2a4da3769ca7a5a7.tar.gz
bcm5719-llvm-45330fee4c2053c03e4446ce2a4da3769ca7a5a7.zip
[CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructor. NFCI.
llvm-svn: 361242
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 332177f6642..6ab454fe6da 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();
OpenPOWER on IntegriCloud