[libc-commits] [libc] [llvm] [libc] Add proxy headers for fenv types. (PR #88467)

via libc-commits libc-commits at lists.llvm.org
Thu Apr 11 21:20:58 PDT 2024


================
@@ -8,7 +8,7 @@
 
 #include "FPExceptMatcher.h"
 
-#include <fenv.h>
+#include "hdr/fenv_t.h"
----------------
lntue wrote:

This file also call `fegetenv` and `fesetenv` from `fenv.h`.  Can you replace them with `fputil::get_env` and `fputil::set_env` respectively?  Also include `src/FPUtil/FEnvImpl.h` and update its dependency accordingly.

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


More information about the libc-commits mailing list