[libc-commits] [libc] [libc] Fix installed 'math.h' header paths (PR #83199)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Feb 27 15:09:59 PST 2024
================
@@ -9,8 +9,6 @@
#ifndef __LLVM_LIBC_TYPES_FLOAT128_H__
#define __LLVM_LIBC_TYPES_FLOAT128_H__
-#include <include/llvm-libc-macros/float-macros.h> // LDBL_MANT_DIG
----------------
jhuber6 wrote:
Maybe we could use `#include <../llvm-libc-macros/float-macros.h>`? Does that even work cross-platform? I'd say currently being able to include `math.h` without the compiler erroring on a nonexistant path is superior to a IWYU violation currently.
https://github.com/llvm/llvm-project/pull/83199
More information about the libc-commits
mailing list