diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2023-09-26 11:45:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 11:45:04 +0200 |
commit | b6bc9d72f65a5086f310f321e969d96e9a559e75 (patch) | |
tree | 1e9a9f8c36c9dfc0106507f7b7a0055af83c4a07 /libc/src/pthread/pthread_self.cpp | |
parent | 7675f541f75baa20e8ec007cd625a837e89fc01f (diff) | |
download | llvm-b6bc9d72f65a5086f310f321e969d96e9a559e75.zip llvm-b6bc9d72f65a5086f310f321e969d96e9a559e75.tar.gz llvm-b6bc9d72f65a5086f310f321e969d96e9a559e75.tar.bz2 |
[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/pthread/pthread_self.cpp')
-rw-r--r-- | libc/src/pthread/pthread_self.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/src/pthread/pthread_self.cpp b/libc/src/pthread/pthread_self.cpp index 5b3145f..3e74f96 100644 --- a/libc/src/pthread/pthread_self.cpp +++ b/libc/src/pthread/pthread_self.cpp @@ -13,9 +13,9 @@ #include <pthread.h> // For pthread_* type definitions. -namespace __llvm_libc { +namespace LIBC_NAMESPACE { -static_assert(sizeof(pthread_t) == sizeof(__llvm_libc::Thread), +static_assert(sizeof(pthread_t) == sizeof(LIBC_NAMESPACE::Thread), "Mismatch between pthread_t and internal Thread."); LLVM_LIBC_FUNCTION(pthread_t, pthread_self, ()) { @@ -24,4 +24,4 @@ LLVM_LIBC_FUNCTION(pthread_t, pthread_self, ()) { return th; } -} // namespace __llvm_libc +} // namespace LIBC_NAMESPACE |