[libc-commits] [libc] [libc] Remove definition of LIBC_NAMESPACE in test (PR #86704)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 26 10:55:37 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Michael Jones (michaelrj-google)

<details>
<summary>Changes</summary>

The canonicalize test added in #<!-- -->85940 defined the LIBC_NAMESPACE macro.
this macro is intended to be set only by the build system and never in
the code.


---
Full diff: https://github.com/llvm/llvm-project/pull/86704.diff


1 Files Affected:

- (modified) libc/test/src/math/smoke/CanonicalizeTest.h (-2) 


``````````diff
diff --git a/libc/test/src/math/smoke/CanonicalizeTest.h b/libc/test/src/math/smoke/CanonicalizeTest.h
index ce855d5168565e..c8af83f1983881 100644
--- a/libc/test/src/math/smoke/CanonicalizeTest.h
+++ b/libc/test/src/math/smoke/CanonicalizeTest.h
@@ -22,8 +22,6 @@
 
 #define TEST_REGULAR(x, y, expected) TEST_SPECIAL(x, y, expected, 0)
 
-#define LIBC_NAMESPACE __llvm_libc_19_0_0_git
-
 template <typename T>
 class CanonicalizeTest : public LIBC_NAMESPACE::testing::Test {
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/86704


More information about the libc-commits mailing list