forked from OSchip/llvm-project
IR: Use default member initialization in Verifier, NFC
llvm-svn: 266883
This commit is contained in:
parent
5626703837
commit
9c3ff1986b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue