aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorCharles Zablit <c_zablit@apple.com>2025-08-19 14:52:29 +0100
committerGitHub <noreply@github.com>2025-08-19 14:52:29 +0100
commitf55dc0824ebcf546b1d34a5102021c15101e4d3b (patch)
tree1a13db9a971cfc611ee5c310b8ae1a0cb0594b42 /clang/lib/Sema/SemaModule.cpp
parent1359f72a03f7a076c036f0142e4876396f3824f9 (diff)
downloadllvm-f55dc0824ebcf546b1d34a5102021c15101e4d3b.zip
llvm-f55dc0824ebcf546b1d34a5102021c15101e4d3b.tar.gz
llvm-f55dc0824ebcf546b1d34a5102021c15101e4d3b.tar.bz2
[lldb][windows] use Windows APIs to print to the console (#149493)
This patch uses the Windows APIs to print to the Windows Console, through `llvm::raw_fd_ostream`. This fixes a rendering issue where the characters defined in `DiagnosticsRendering.cpp` (`"╰"` for instance) are not rendered properly on Windows out of the box, because the default codepage is not `utf-8`. This solution is based on [this patch downstream](https://github.com/swiftlang/swift/pull/40632/files#diff-e948e4bd7a601e3ca82d596058ccb39326459a4751470eec4d393adeaf516977R37-R38). rdar://156064500
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions