[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)

This is a part of #97655.
This commit is contained in:
Petr Hosek
2024-07-12 09:28:41 -07:00
committed by GitHub
parent dd866040ae
commit 5ff3ff33ff
2328 changed files with 7576 additions and 4679 deletions

View File

@@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include "ExecuteFunction.h"
#include "src/__support/macros/config.h"
#include <cassert>
#include <cstdlib>
#include <cstring>
@@ -17,7 +18,7 @@
#include <sys/wait.h>
#include <unistd.h>
namespace LIBC_NAMESPACE {
namespace LIBC_NAMESPACE_DECL {
namespace testutils {
bool ProcessStatus::exited_normally() { return WIFEXITED(platform_defined); }
@@ -78,4 +79,4 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, unsigned timeout_ms) {
const char *signal_as_string(int signum) { return ::strsignal(signum); }
} // namespace testutils
} // namespace LIBC_NAMESPACE
} // namespace LIBC_NAMESPACE_DECL