[libc-commits] [libc] [libc][mathvec] Initial commit for LIBC vector math component (PR #173058)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Tue Feb 17 13:00:18 PST 2026
================
@@ -39,7 +39,7 @@ LIBC_INLINE static void inline_copy(const char *from, char *to) {
// This implementation of bit_cast requires trivially-constructible To, to avoid
// UB in the implementation.
template <typename To, typename From>
-LIBC_INLINE constexpr cpp::enable_if_t<
+LIBC_INLINE static constexpr cpp::enable_if_t<
----------------
bassiounix wrote:
We can't mark any free functions in header files as `static`, it causes size bloat in symbol table on baremetal from our experience.
```suggestion
LIBC_INLINE constexpr cpp::enable_if_t<
```
https://github.com/llvm/llvm-project/pull/173058
More information about the libc-commits
mailing list