[Lldb-commits] [PATCH] D110535: [llvm] [ADT] Update llvm::Split() per Pavel Labath's suggestions
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 22 01:42:20 PDT 2021
labath accepted this revision.
labath added a comment.
It makes things a bit more complicated, which then makes the case for dropping char slightly stronger, but I still don't think it's worth making a fuss of it.
================
Comment at: llvm/unittests/ADT/StringExtrasTest.cpp:327
+
+ EXPECT_EQ(ArrayRef<StringRef>(Result), ArrayRef<StringRef>(Expected));
+}
----------------
maybe `EXPECT_THAT(Result, testing::ElementsAre("foo", "bar", "", "baz"));`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110535/new/
https://reviews.llvm.org/D110535
More information about the lldb-commits
mailing list