[all-commits] [llvm/llvm-project] 27ee91: [AIX][clang] include_next through clang provided f...
David Tenty via All-commits
all-commits at lists.llvm.org
Fri Jan 28 10:27:56 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27ee91162dd3f01d692e8f092903dd79f4e54348
https://github.com/llvm/llvm-project/commit/27ee91162dd3f01d692e8f092903dd79f4e54348
Author: David Tenty <daltenty at ibm.com>
Date: 2022-01-28 (Fri, 28 Jan 2022)
Changed paths:
M clang/lib/Headers/float.h
A clang/test/Headers/Inputs/include/float.h
A clang/test/Headers/float-aix.c
Log Message:
-----------
[AIX][clang] include_next through clang provided float.h
AIX provides additional definitions in the system libc float.h that we
would like to be available to users, so we need to include_next through,
similar to what is done on some other platforms.
We also adjust the guards for some definitions which are restricted
based on language level to also be provide with the _ALL_SOURCE feature
test macro on AIX, similar to what is done by the platform float.h
header, so we don't run into cases where we don't provide the compiler
macro but still have a different definition from the system.
Differential Revision: https://reviews.llvm.org/D117935
More information about the All-commits
mailing list