Skip to content

Commit cee9a32

Browse files
committed
Update endif comment
1 parent b72022b commit cee9a32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libc/test/src/string/memchr_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ TEST(LlvmLibcMemChrTest, CrashOnNullPtr) {
129129
WITH_SIGNAL(-1));
130130
}
131131

132-
#endif // defined(LIBC_TARGET_OS_IS_LINUX)
132+
#endif // defined(LIBC_ADD_NULL_CHECKS) && !defined(LIBC_HAS_SANITIZER)

libc/test/src/string/memcmp_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ TEST(LlvmLibcMemcmpTest, CrashOnNullPtr) {
7373
WITH_SIGNAL(-1));
7474
}
7575

76-
#endif // defined(LIBC_TARGET_OS_IS_LINUX)
76+
#endif // defined(LIBC_ADD_NULL_CHECKS) && !defined(LIBC_HAS_SANITIZER)
7777

7878
} // namespace LIBC_NAMESPACE_DECL

0 commit comments

Comments
 (0)