Author: Timm Bäder Date: 2024-06-28T10:41:25+02:00 New Revision: e3796291abd83012762c832ec37ac4ecd9aba5ad
URL: https://github.com/llvm/llvm-project/commit/e3796291abd83012762c832ec37ac4ecd9aba5ad DIFF: https://github.com/llvm/llvm-project/commit/e3796291abd83012762c832ec37ac4ecd9aba5ad.diff LOG: [clang][NFC] Use provided stream in APValue::dump() I assume this is a copy/paste error. Added: Modified: clang/lib/AST/ASTDumper.cpp Removed: ################################################################################ diff --git a/clang/lib/AST/ASTDumper.cpp b/clang/lib/AST/ASTDumper.cpp index f0603880c32dd..864d0393f9a78 100644 --- a/clang/lib/AST/ASTDumper.cpp +++ b/clang/lib/AST/ASTDumper.cpp @@ -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)); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits