Verifier: Make the raw_ostream constructor argument required

This was passed inconsistently; seems clearer to make it required anyway.

llvm-svn: 232291
This commit is contained in:
Duncan P. N. Exon Smith 2015-03-15 00:46:57 +00:00
parent 87c7686664
commit 6fb58c4f7b
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class Verifier : public InstVisitor<Verifier>, VerifierSupport {
DenseMap<Function *, std::pair<unsigned, unsigned>> FrameEscapeInfo;
public:
explicit Verifier(raw_ostream &OS = dbgs())
explicit Verifier(raw_ostream &OS)
: VerifierSupport(OS), Context(nullptr), PersonalityFn(nullptr),
SawFrameEscape(false) {}
@ -3112,7 +3112,7 @@ struct VerifierLegacyPass : public FunctionPass {
Verifier V;
bool FatalErrors;
VerifierLegacyPass() : FunctionPass(ID), FatalErrors(true) {
VerifierLegacyPass() : FunctionPass(ID), V(dbgs()), FatalErrors(true) {
initializeVerifierLegacyPassPass(*PassRegistry::getPassRegistry());
}
explicit VerifierLegacyPass(bool FatalErrors)