[clang] [DiagnosticInfo] Allow std::string_view in DiagnosticBuilder operator<<. (PR #190374)
Jackson Stogel via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 14:42:41 PDT 2026
================
@@ -164,20 +176,20 @@ TEST(DiagnosticTest, diagnosticError) {
EXPECT_EQ(Value->first, 20);
}
+class CaptureDiagnosticConsumer : public DiagnosticConsumer {
----------------
jtstogel wrote:
Moved out of a function scope that it can be shared by `reportAcceptsStringViewMessage`
https://github.com/llvm/llvm-project/pull/190374
More information about the cfe-commits
mailing list