[libc-commits] [libc] [libc] Don't read memory in vector find_first_character if n is 0 (PR #235289)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Nov 4 15:57:21 PST 2026


================
@@ -40,6 +40,7 @@ using TwoKilobyteBuffer = cpp::array<char, 2048>;
 static constexpr unsigned long kLargestTestVectorSize = 512;
 
 class LlvmLibcWideAccessMemoryTest : public testing::Test {
+protected:
----------------
michaelrj-google wrote:

why was this changed?

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


More information about the libc-commits mailing list