IR: Use default member initialization in Verifier, NFC

llvm-svn: 266883
This commit is contained in:
Duncan P. N. Exon Smith 2016-04-20 15:55:24 +00:00
parent 5626703837
commit 9c3ff1986b
1 changed files with 4 additions and 5 deletions

View File

@ -83,13 +83,12 @@ static cl::opt<bool> VerifyDebugInfo("verify-debug-info", cl::init(true));
namespace {
struct VerifierSupport {
raw_ostream &OS;
const Module *M;
const Module *M = nullptr;
/// \brief Track the brokenness of the module while recursively visiting.
bool Broken;
/// Track the brokenness of the module while recursively visiting.
bool Broken = false;
explicit VerifierSupport(raw_ostream &OS)
: OS(OS), M(nullptr), Broken(false) {}
explicit VerifierSupport(raw_ostream &OS) : OS(OS) {}
private:
template <class NodeTy> void Write(const ilist_iterator<NodeTy> &I) {