[clang] [clang] Use a formatted_raw_ostream in TextDiagnostic (PR #164935)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 24 00:42:03 PDT 2025
================
@@ -16,10 +16,12 @@
#define LLVM_CLANG_FRONTEND_TEXTDIAGNOSTIC_H
#include "clang/Frontend/DiagnosticRenderer.h"
-#include "llvm/Support/raw_ostream.h"
+#include "llvm/Support/FormattedStream.h"
namespace clang {
+using formatted_raw_ostream = llvm::formatted_raw_ostream;
----------------
Sirraide wrote:
```suggestion
using llvm::formatted_raw_ostream;
```
https://github.com/llvm/llvm-project/pull/164935
More information about the cfe-commits
mailing list