diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-11-22 13:42:33 -0500 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-11-23 09:50:14 -0500 |
commit | 647ddc08f43c05131031cfe3c6114d7870f5a117 (patch) | |
tree | 5890637c2d944239d43970b75c67ec557887de9f /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 09b8b44760423ff822b3755647a8f69ea1b8de3e (diff) | |
download | llvm-647ddc08f43c05131031cfe3c6114d7870f5a117.zip llvm-647ddc08f43c05131031cfe3c6114d7870f5a117.tar.gz llvm-647ddc08f43c05131031cfe3c6114d7870f5a117.tar.bz2 |
[libc++] Add missing __has_include checks for C headers not provided by libc++
This makes the library consistent in how it handles C library headers. For C headers provided by libc++,
we unconditionally include <foo.h> from <cfoo>, and then <foo.h> conditionally include_next <foo.h>.
For headers not provided by libc++, <cfoo> conditionally includes the system's <foo.h> directly.
Differential Revision: https://reviews.llvm.org/D138512
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions