summaryrefslogtreecommitdiff
path: root/libc/src/__support/StringUtil/error_to_string.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/src/__support/StringUtil/error_to_string.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/src/__support/StringUtil/error_to_string.cpp')
-rw-r--r--libc/src/__support/StringUtil/error_to_string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/__support/StringUtil/error_to_string.cpp b/libc/src/__support/StringUtil/error_to_string.cpp
index 692f88455582..3ea60a6740b3 100644
--- a/libc/src/__support/StringUtil/error_to_string.cpp
+++ b/libc/src/__support/StringUtil/error_to_string.cpp
@@ -18,7 +18,7 @@
#include <stddef.h>
-namespace __llvm_libc {
+namespace LIBC_NAMESPACE {
namespace internal {
constexpr size_t max_buff_size() {
@@ -74,4 +74,4 @@ cpp::string_view get_error_string(int err_num, cpp::span<char> buffer) {
return internal::build_error_string(err_num, buffer);
}
-} // namespace __llvm_libc
+} // namespace LIBC_NAMESPACE