Issue 83182
Summary Update preprocessor definitions for type detection
Labels libc
Assignees gchatelet
Reporter gchatelet
    This is to track the items in https://github.com/llvm/llvm-project/pull/81870#issuecomment-1948099726

i.e.,

- [ ] Rename `float.h` into `types.h`
- [ ] Rename all `#define` in this file to `LIBC_TYPES_HAS_...`
    `LIBC_TYPES_HAS_INT64`
 `LIBC_TYPES_HAS_FLOAT16`
    `LIBC_TYPES_HAS_FLOAT128`
- [ ] Don't expose how the type is provided and use `float16` or `float128` solely (i.e. no `LIBC_COMPILER_HAS_FLOAT128_EXTENSION` nor `LIBC_COMPILER_HAS_C23_FLOAT128`). Added benefit of not defining `LIBC_COMPILER_...` outside of the `compiler.h` file.
- [ ] Update the documentation

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to