Home
last modified time | relevance | path

Searched refs:__has_include (Results 1 – 25 of 57) sorted by relevance

123

/llvm-project-15.0.7/clang/test/Preprocessor/
H A Dhas_include.c4 #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 Dsearch-path-usage.m54 // 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 Dhas_include_if_elif.cpp18 #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 Ddependency-gen-has-include.c31 #if __has_include("a/header.h")
33 #if __has_include("missing/file.h")
35 #if __has_include(<system-header.h>)
H A Drewrite-includes-invalid-hasinclude.c3 #if __has_include bar.h
6 #if __has_include(bar.h)
9 #if __has_include(<bar.h)
H A Drewrite-includes-conditions.c23 #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 Datomic_signal_fence.c13 #ifndef __has_include
14 #define __has_include(inc) 0 macro
17 #if __has_include(<stdatomic.h>)
H A Datomic_thread_fence.c13 #ifndef __has_include
14 #define __has_include(inc) 0 macro
17 #if __has_include(<stdatomic.h>)
H A Datomic_flag_clear.c13 #ifndef __has_include
14 #define __has_include(inc) 0 macro
17 #if __has_include(<stdatomic.h>)
H A Datomic_flag_test_and_set.c13 #ifndef __has_include
14 #define __has_include(inc) 0 macro
17 #if __has_include(<stdatomic.h>)
H A Datomic_flag_clear_explicit.c13 #ifndef __has_include
14 #define __has_include(inc) 0 macro
17 #if __has_include(<stdatomic.h>)
H A Datomic_flag_test_and_set_explicit.c13 #ifndef __has_include
14 #define __has_include(inc) 0 macro
17 #if __has_include(<stdatomic.h>)
H A Dint_lib.h83 #if defined(__has_include) && __has_include(<sys/limits.h>)
/llvm-project-15.0.7/clang/tools/amdgpu-arch/
H A DAMDGPUArch.cpp14 #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 Dtest_macros.h16 #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 Dnostdlibinc.c4 #if !__has_include("stddef.h")
8 #if __has_include("stdlib.h")
/llvm-project-15.0.7/clang/test/Frontend/Inputs/
H A Drewrite-includes8.h2 #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.h30 #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 DPosixSpawnResponsible.h14 #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 Dverbose_abort.cpp25 #if defined(__APPLE__) && __has_include(<CrashReporterClient.h>)
48 #if defined(__APPLE__) && __has_include(<CrashReporterClient.h>) in __libcpp_verbose_abort()
H A Dchrono.cpp26 #if __has_include(<unistd.h>)
30 #if __has_include(<sys/time.h>)
51 #if __has_include(<mach/mach_time.h>)
H A Drandom.cpp33 # if __has_include(<sys/ioctl.h>) && __has_include(<linux/random.h>)
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_asm.h70 #if (defined(__x86_64__) || defined(__i386__)) && defined(__has_include) && __has_include(<cet.h>)
/llvm-project-15.0.7/clang/test/Analysis/
H A Dpadding_c.c15 #if __has_include(<stdalign.h>)
19 #if __has_include(<stdalign.h>) || defined(__cplusplus)
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCompiler.h42 #ifndef __has_include
43 # define __has_include(x) 0 macro
416 #if __has_include(<sanitizer/asan_interface.h>)

123