| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | has_include.c | 4 #if __has_include("stdint.h") 9 #if __has_include(<stdint.h>) 15 #if !__has_include("stdint.h") 20 #if __has_include("stdint.h") && __has_include("stddef.h") 31 #if !defined(__has_include) 78 #if !__has_include MACRO2 82 #if __has_include MACRO3 86 #if __has_include(<MACRO4 90 #if !__has_include(MACRO5) 128 #if __has_include() [all …]
|
| H A D | search-path-usage.m | 54 // Check that search paths used by `__has_include()` are reported. 61 #if __has_include("b.h") // \ 64 #if __has_include("x.h") 120 // and the lookup is initiated by __has_include. 127 #if __has_include("b.h") // \
|
| /llvm-project-15.0.7/clang/test/ClangScanDeps/ |
| H A D | has_include_if_elif.cpp | 18 #if __has_include("header.h") 22 #elif __has_include("header2.h") 25 #define H3 __has_include("header3.h") 29 #define H4 __has_include("header4.h")
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | dependency-gen-has-include.c | 31 #if __has_include("a/header.h") 33 #if __has_include("missing/file.h") 35 #if __has_include(<system-header.h>)
|
| H A D | rewrite-includes-invalid-hasinclude.c | 3 #if __has_include bar.h 6 #if __has_include(bar.h) 9 #if __has_include(<bar.h)
|
| H A D | rewrite-includes-conditions.c | 23 #if __has_include(<rewrite-includes3.h>) 27 #define HAS_INCLUDE(x) __has_include(x)
|
| /llvm-project-15.0.7/compiler-rt/lib/builtins/ |
| H A D | atomic_signal_fence.c | 13 #ifndef __has_include 14 #define __has_include(inc) 0 macro 17 #if __has_include(<stdatomic.h>)
|
| H A D | atomic_thread_fence.c | 13 #ifndef __has_include 14 #define __has_include(inc) 0 macro 17 #if __has_include(<stdatomic.h>)
|
| H A D | atomic_flag_clear.c | 13 #ifndef __has_include 14 #define __has_include(inc) 0 macro 17 #if __has_include(<stdatomic.h>)
|
| H A D | atomic_flag_test_and_set.c | 13 #ifndef __has_include 14 #define __has_include(inc) 0 macro 17 #if __has_include(<stdatomic.h>)
|
| H A D | atomic_flag_clear_explicit.c | 13 #ifndef __has_include 14 #define __has_include(inc) 0 macro 17 #if __has_include(<stdatomic.h>)
|
| H A D | atomic_flag_test_and_set_explicit.c | 13 #ifndef __has_include 14 #define __has_include(inc) 0 macro 17 #if __has_include(<stdatomic.h>)
|
| H A D | int_lib.h | 83 #if defined(__has_include) && __has_include(<sys/limits.h>)
|
| /llvm-project-15.0.7/clang/tools/amdgpu-arch/ |
| H A D | AMDGPUArch.cpp | 14 #if defined(__has_include) 15 #if __has_include("hsa.h") 18 #elif __has_include("hsa/hsa.h")
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | test_macros.h | 16 #ifdef __has_include 17 # if __has_include("<__config>") 38 #ifndef __has_include 39 #define __has_include(...) 0 macro 108 #if (defined(__has_include) && __has_include(<features.h>)) || \
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | nostdlibinc.c | 4 #if !__has_include("stddef.h") 8 #if __has_include("stdlib.h")
|
| /llvm-project-15.0.7/clang/test/Frontend/Inputs/ |
| H A D | rewrite-includes8.h | 2 #elif __has_include(<rewrite-includes8.hfail>) 4 #if !__has_include("rewrite-includes8.h")
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | __mbstate_t.h | 30 #elif __has_include(<bits/types/mbstate_t.h>) 32 #elif __has_include(<sys/_types/_mbstate_t.h>)
|
| /llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/ |
| H A D | PosixSpawnResponsible.h | 14 #if __has_include(<responsibility.h>) 28 #if __has_include(<responsibility.h>) in setup_posix_spawn_responsible_flag()
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | verbose_abort.cpp | 25 #if defined(__APPLE__) && __has_include(<CrashReporterClient.h>) 48 #if defined(__APPLE__) && __has_include(<CrashReporterClient.h>) in __libcpp_verbose_abort()
|
| H A D | chrono.cpp | 26 #if __has_include(<unistd.h>) 30 #if __has_include(<sys/time.h>) 51 #if __has_include(<mach/mach_time.h>)
|
| H A D | random.cpp | 33 # if __has_include(<sys/ioctl.h>) && __has_include(<linux/random.h>)
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_asm.h | 70 #if (defined(__x86_64__) || defined(__i386__)) && defined(__has_include) && __has_include(<cet.h>)
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | padding_c.c | 15 #if __has_include(<stdalign.h>) 19 #if __has_include(<stdalign.h>) || defined(__cplusplus)
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Compiler.h | 42 #ifndef __has_include 43 # define __has_include(x) 0 macro 416 #if __has_include(<sanitizer/asan_interface.h>)
|