[clang][NFC] Use provided stream in APValue::dump()

I assume this is a copy/paste error.
This commit is contained in:
Timm Bäder 2024-06-28 10:35:36 +02:00
parent b22ea2dc1e
commit e3796291ab

View File

@ -342,8 +342,7 @@ LLVM_DUMP_METHOD void APValue::dump() const {
LLVM_DUMP_METHOD void APValue::dump(raw_ostream &OS,
const ASTContext &Context) const {
ASTDumper Dumper(llvm::errs(), Context,
Context.getDiagnostics().getShowColors());
ASTDumper Dumper(OS, Context, Context.getDiagnostics().getShowColors());
Dumper.Visit(*this, /*Ty=*/Context.getPointerType(Context.CharTy));
}