mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user