diff options
| author | Petr Hosek <phosek@google.com> | 2024-07-12 09:28:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 09:28:41 -0700 |
| commit | 5ff3ff33ff930e4ec49da7910612d8a41eb068cb (patch) | |
| tree | ffb876db6deb2dfd4c6c0c11ddf692db75082f7f /libc/test/src/string/memset_test.cpp | |
| parent | dd866040aeb2703debacc141f60429ea0f567146 (diff) | |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)
This is a part of #97655.
Diffstat (limited to 'libc/test/src/string/memset_test.cpp')
| -rw-r--r-- | libc/test/src/string/memset_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/test/src/string/memset_test.cpp b/libc/test/src/string/memset_test.cpp index d78b579a0edb..774a321ddfce 100644 --- a/libc/test/src/string/memset_test.cpp +++ b/libc/test/src/string/memset_test.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "memory_utils/memory_check_utils.h" +#include "src/__support/macros/config.h" #include "src/__support/macros/properties/os.h" // LIBC_TARGET_OS_IS_LINUX #include "src/string/memset.h" #include "test/UnitTest/Test.h" @@ -15,7 +16,7 @@ #include "memory_utils/protected_pages.h" #endif // !defined(LIBC_FULL_BUILD) && defined(LIBC_TARGET_OS_IS_LINUX) -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { // Adapt CheckMemset signature to memset. static inline void Adaptor(cpp::span<char> p1, uint8_t value, size_t size) { @@ -58,4 +59,4 @@ TEST(LlvmLibcMemsetTest, CheckAccess) { #endif // !defined(LIBC_FULL_BUILD) && defined(LIBC_TARGET_OS_IS_LINUX) -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
