[libc-commits] [libc] [libc] newhdrgen: updated sorting of guarded functions in fuction generation (PR #98241)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Jul 9 16:39:37 PDT 2024
================
@@ -14,7 +14,22 @@
#include "llvm-libc-macros/math-macros.h"
#include "llvm-libc-types/float128.h"
+#if !defined(__LIBC_CONST_ATTR) && defined(__cplusplus) && defined(__GNUC__)
----------------
michaelrj-google wrote:
This code is generated by the current headergen so it can't go in the `.h.def` file. Given that the function level attribute system is currently only used by one function it might be reasonable to skip it for the moment and add it later. (CC @SchrodingerZhu)
https://github.com/llvm/llvm-project/pull/98241
More information about the libc-commits
mailing list