[BuilderTransform] NFC: Correctly indent transformed body debug printing

This commit is contained in:
Pavel Yaskevich
2022-12-21 10:43:07 -08:00
parent 529269946d
commit b01d21b1ec

View File

@@ -2529,7 +2529,7 @@ ConstraintSystem::matchResultBuilder(AnyFunctionRef fn, Type builderType,
auto &log = llvm::errs();
auto indent = solverState ? solverState->getCurrentIndent() : 0;
log.indent(indent) << "------- Transfomed Body -------\n";
transformedBody->second->dump(log);
transformedBody->second->dump(log, &getASTContext(), indent);
log << '\n';
}