mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 05:55:35 +08:00
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)
This is a part of #97655.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user