summaryrefslogtreecommitdiff
path: root/libc/test/UnitTest/ExecuteFunctionUnix.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/UnitTest/ExecuteFunctionUnix.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/UnitTest/ExecuteFunctionUnix.cpp')
-rw-r--r--libc/test/UnitTest/ExecuteFunctionUnix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/test/UnitTest/ExecuteFunctionUnix.cpp b/libc/test/UnitTest/ExecuteFunctionUnix.cpp
index 1caaa24b8d41..b244337f9c6f 100644
--- a/libc/test/UnitTest/ExecuteFunctionUnix.cpp
+++ b/libc/test/UnitTest/ExecuteFunctionUnix.cpp
@@ -17,7 +17,7 @@
#include <sys/wait.h>
#include <unistd.h>
-namespace __llvm_libc {
+namespace LIBC_NAMESPACE {
namespace testutils {
bool ProcessStatus::exited_normally() { return WIFEXITED(platform_defined); }
@@ -78,4 +78,4 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, unsigned timeout_ms) {
const char *signal_as_string(int signum) { return ::strsignal(signum); }
} // namespace testutils
-} // namespace __llvm_libc
+} // namespace LIBC_NAMESPACE