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/math/generic/logf.cpp | |
| parent | 7675f541f75baa20e8ec007cd625a837e89fc01f (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/math/generic/logf.cpp')
| -rw-r--r-- | libc/src/math/generic/logf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/math/generic/logf.cpp b/libc/src/math/generic/logf.cpp index 73634e009c74..1f689f25931d 100644 --- a/libc/src/math/generic/logf.cpp +++ b/libc/src/math/generic/logf.cpp @@ -49,7 +49,7 @@ // USA, January 16-22, 2022. // https://people.cs.rutgers.edu/~sn349/papers/rlibmall-popl-2022.pdf -namespace __llvm_libc { +namespace LIBC_NAMESPACE { LLVM_LIBC_FUNCTION(float, logf, (float x)) { constexpr double LOG_2 = 0x1.62e42fefa39efp-1; @@ -169,4 +169,4 @@ LLVM_LIBC_FUNCTION(float, logf, (float x)) { return static_cast<float>(r); } -} // namespace __llvm_libc +} // namespace LIBC_NAMESPACE |
