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

via libc-commits libc-commits at lists.llvm.org
Tue Mar 26 12:51:44 PDT 2024


Author: Michael Jones
Date: 2024-03-26T12:51:40-07:00
New Revision: 4c72cfa31798a67c6daa25d474bcfe536e4fa0c0

URL: https://github.com/llvm/llvm-project/commit/4c72cfa31798a67c6daa25d474bcfe536e4fa0c0
DIFF: https://github.com/llvm/llvm-project/commit/4c72cfa31798a67c6daa25d474bcfe536e4fa0c0.diff

LOG: [libc] Remove definition of LIBC_NAMESPACE in test (#86704)

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.

Added: 
    

Modified: 
    libc/test/src/math/smoke/CanonicalizeTest.h

Removed: 
    


################################################################################
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 {
 


        


More information about the libc-commits mailing list