[PATCH] D108469: Improve handling of static assert messages.
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 27 12:34:02 PDT 2022
cor3ntin added inline comments.
================
Comment at: clang/lib/Basic/Diagnostic.cpp:837
+ llvm::sys::unicode::isFormatting(CodepointValue)) {
+ OutStr.append(CodepointBegin, CodepointEnd);
+ continue;
----------------
erichkeane wrote:
> Something here that uses the stream?
The stream is not buffered, it just directly write to OutStr.
So it seems counter productive to construct a `StringRef` here just to use the stream.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108469/new/
https://reviews.llvm.org/D108469
More information about the cfe-commits
mailing list