summaryrefslogtreecommitdiff
path: root/libc/test/src/stdlib/strtoint64_test.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2023-09-26 11:45:04 +0200
committerGitHub <noreply@github.com>2023-09-26 11:45:04 +0200
commitb6bc9d72f65a5086f310f321e969d96e9a559e75 (patch)
tree1e9a9f8c36c9dfc0106507f7b7a0055af83c4a07 /libc/test/src/stdlib/strtoint64_test.cpp
parent7675f541f75baa20e8ec007cd625a837e89fc01f (diff)
[libc] Mass replace enclosing namespace (#67032)
This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
Diffstat (limited to 'libc/test/src/stdlib/strtoint64_test.cpp')
-rw-r--r--libc/test/src/stdlib/strtoint64_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/test/src/stdlib/strtoint64_test.cpp b/libc/test/src/stdlib/strtoint64_test.cpp
index 95e4761881f5..f8d807b146f2 100644
--- a/libc/test/src/stdlib/strtoint64_test.cpp
+++ b/libc/test/src/stdlib/strtoint64_test.cpp
@@ -14,7 +14,7 @@
#include "StrtolTest.h"
#include "test/UnitTest/Test.h"
-namespace __llvm_libc {
+namespace LIBC_NAMESPACE {
int64_t strtoint64(const char *__restrict str, char **__restrict str_end,
int base) {
@@ -39,7 +39,7 @@ uint64_t strtouint64(const char *__restrict str, char **__restrict str_end,
return result;
}
-} // namespace __llvm_libc
+} // namespace LIBC_NAMESPACE
-STRTOL_TEST(Strtoint64, __llvm_libc::strtoint64)
-STRTOL_TEST(Strtouint64, __llvm_libc::strtouint64)
+STRTOL_TEST(Strtoint64, LIBC_NAMESPACE::strtoint64)
+STRTOL_TEST(Strtouint64, LIBC_NAMESPACE::strtouint64)