[libc-commits] [libc] [libc] add `LLVM_LIBC_CAST` macro. (PR #127319)

via libc-commits libc-commits at lists.llvm.org
Sun Feb 16 16:41:01 PST 2025


================
@@ -47,6 +47,9 @@
 #define __NOEXCEPT throw()
 #endif
 
+#undef LLVM_LIBC_CAST
+#define LLVM_LIBC_CAST(cast, type, value) (cast<type>(value))
----------------
c8ef wrote:

Done.

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


More information about the libc-commits mailing list