Skip to content

Commit

Permalink
[clang][NFC] Use provided stream in APValue::dump()
Browse files Browse the repository at this point in the history
I assume this is a copy/paste error.
  • Loading branch information
tbaederr committed Jun 28, 2024
1 parent b22ea2d commit e379629
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clang/lib/AST/ASTDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit e379629

Please sign in to comment.