[llvm] [Error] Add non-consuming toString (PR #95375)
Paul T Robinson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 08:21:25 PDT 2024
================
@@ -738,17 +738,25 @@ TEST(Error, ErrorCodeConversions) {
// Test that error messages work.
TEST(Error, ErrorMessage) {
- EXPECT_EQ(toString(Error::success()), "");
----------------
pogo59 wrote:
I'd want to keep this, just to have one example that doesn't go through toStringWithoutConsuming or visitErrors.
https://github.com/llvm/llvm-project/pull/95375
More information about the llvm-commits
mailing list