AST: avoid "deprecation" warning

The "dump()" interface is meant for use in the debugger only.  Use the
parameter form to avoid the -Wdeprecated-declaration warning.
This commit is contained in:
Saleem Abdulrasool
2017-03-21 14:49:46 -07:00
parent 49941c58c0
commit ef141eb2c1

View File

@@ -423,9 +423,9 @@ void SubstitutionMap::verify() const {
// All of the conformances should be concrete.
if (!citer->isConcrete()) {
llvm::dbgs() << "Concrete replacement type:\n";
replacement->dump();
replacement->dump(llvm::dbgs());
llvm::dbgs() << "SubstitutionMap:\n";
dump();
dump(llvm::dbgs());
}
assert(citer->isConcrete() && "Conformance should be concrete");
}