Fix cppcheck + MSVC analyzer uninitialized member variable warning. NFCI.

llvm-svn: 368888
This commit is contained in:
Simon Pilgrim 2019-08-14 17:41:37 +00:00
parent b13c8ca9eb
commit 40f88d5f62
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ protected:
using DomTreeNodeMapType = using DomTreeNodeMapType =
DenseMap<NodeT *, std::unique_ptr<DomTreeNodeBase<NodeT>>>; DenseMap<NodeT *, std::unique_ptr<DomTreeNodeBase<NodeT>>>;
DomTreeNodeMapType DomTreeNodes; DomTreeNodeMapType DomTreeNodes;
DomTreeNodeBase<NodeT> *RootNode; DomTreeNodeBase<NodeT> *RootNode = nullptr;
ParentPtr Parent = nullptr; ParentPtr Parent = nullptr;
mutable bool DFSInfoValid = false; mutable bool DFSInfoValid = false;