[llvm] [llvm] Improve implementation of StringRef::find_last_of and cie (PR #71865)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 14:53:51 PST 2023


================
@@ -372,7 +402,8 @@ size_t StringRef::count(StringRef Str) const {
   size_t Count = 0;
   size_t Pos = 0;
   size_t N = Str.size();
-  // TODO: For an empty `Str` we return 0 for legacy reasons. Consider changing
+  // TODO: For an empty `Str` we return 0 for legacy reasons. Consider
+  // changing
----------------
aganea wrote:

Text should go with the following line.

https://github.com/llvm/llvm-project/pull/71865


More information about the llvm-commits mailing list