mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
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:
parent
e0106d31c8
commit
9d8b121b0f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user