[libc-commits] [PATCH] D84875: [libc] Adds strrchr implementation.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jul 31 10:31:43 PDT 2020


sivachandra added inline comments.


================
Comment at: libc/test/src/string/strrchr_test.cpp:11
+#include "utils/UnitTest/Test.h"
+
+TEST(StrRChrTest, FindsFirstCharacter) {
----------------
Nit: For completeness, may be add a test where `src` points to a byte string having more than one null terminators.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84875/new/

https://reviews.llvm.org/D84875



More information about the libc-commits mailing list