llvm-project/clang/lib/Headers
Aaron Ballman 6273b5cbcd Roll back use of #warning for header deprecations
e5ccd66801 and
5029dce492 added deprecation warnings to
the <stdbool.h> and <stdnoreturn.h> headers, respectively, because the
headers are deprecated in C2x.

However, there are system headers that include these headers
unconditionally, and #warning diagnostics within system headers are
shown to users instead of suppressed, which means these deprecation
warnings are being triggered in circumstances that users have no
control over except to disable all the warnings through the
_CLANG_DISABLE_CRT_DEPRECATION_WARNINGS macro or other means.

This removes the problematic #warning uses until we find a more
palatable solution.
2022-05-26 14:51:39 -04:00
..
cuda_wrappers [CUDA] Work around compatibility issue with libstdc++ 11.1.0 2021-05-24 11:07:09 -07:00
openmp_wrappers [AMDGPU][OpenMP] Use complex definitions from complex_cmath.h 2021-09-09 10:55:17 +05:30
ppc_wrappers [NFC] Format and uglify PowerPC intrinsics headers 2022-03-24 21:14:55 +08:00
CMakeLists.txt [clang] Fixing arm-common, windows only and openmp header install targets 2022-05-20 12:29:10 -04:00
__clang_cuda_builtin_vars.h [CUDA] Added conversion functions to builtin vars. 2020-09-24 14:33:04 -07:00
__clang_cuda_cmath.h [OpenMP][CUDA][FIX] Use the new `remquo` overload only for OpenMP 2020-10-27 23:52:59 -05:00
__clang_cuda_complex_builtins.h [OpenMP][AMDGCN] Enable complex functions 2021-08-24 12:40:41 +05:30
__clang_cuda_device_functions.h [clang] Replace asm with __asm__ in cuda header 2021-08-05 18:46:57 +01:00
__clang_cuda_intrinsics.h [clang][CUDA][Windows] Fix compilation error on Windows with `uint32_t __nvvm_get_smem_pointer` 2022-04-21 00:41:20 +03:00
__clang_cuda_libdevice_declares.h [OpenMP] Make CUDA math library functions SPMD amenable 2021-09-10 14:52:45 -04:00
__clang_cuda_math.h [NFC] Fix endif comments to match with include guard 2022-01-07 15:52:59 +08:00
__clang_cuda_math_forward_declares.h [HIP] Add signbit(long double) decl 2021-01-14 18:23:37 +00:00
__clang_cuda_runtime_wrapper.h [cuda] Add address space predicate funuctions. 2021-10-19 16:20:14 -04:00
__clang_cuda_texture_intrinsics.h [CUDA] remove unneeded includes from CUDA-related headers. 2021-10-06 17:20:21 -07:00
__clang_hip_cmath.h [OpenMP][AMDGCN] Initial math headers support 2021-08-02 14:38:52 +00:00
__clang_hip_libdevice_declares.h [HIP] Clean up llvm intrinsics using __asm 2021-05-13 18:55:51 +00:00
__clang_hip_math.h [openmp] Annotate tmp variables with omp_thread_mem_alloc 2021-08-19 02:22:11 +01:00
__clang_hip_runtime_wrapper.h [HIP] Fix device malloc/free 2022-01-11 14:49:34 -05:00
__stddef_max_align_t.h
__wmmintrin_aes.h [X86] Add parentheses around casts in some of the X86 intrinsic headers. 2021-08-13 09:36:16 -07:00
__wmmintrin_pclmul.h [NFC] Cleanup miscellaneous header items 2022-04-26 14:36:49 -07:00
adxintrin.h
altivec.h [PowerPC] Add missed clang portion of c933c2eb33 2021-11-24 12:42:58 -06:00
ammintrin.h Check supported architectures in sseXYZ/avxXYZ headers 2021-09-14 09:57:54 +02:00
amxintrin.h [Headers][X86] amxintrin.h - fixed unknown parameter Wdocumentation warning. NFC 2022-05-07 16:20:39 +01:00
arm64intr.h
arm_acle.h [AArch64] Support for memset tagged intrinsic 2022-01-31 20:49:34 +00:00
arm_cmse.h [ARM][CMSE] Add CMSE header and builtins 2019-12-12 15:01:14 +00:00
arm_neon_sve_bridge.h [AArch64][SVE][NEON] Add NEON-SVE-Bridge intrinsics 2021-12-13 11:31:57 +00:00
armintr.h
avx2intrin.h [X86] Remove __builtin_ia32_padd/psub saturated intrinsics and use generic __builtin_elementwise_add/sub_sat 2022-02-08 15:00:10 +00:00
avx512bf16intrin.h [X86] add 3 missing intrinsics: _mm_(mask/maskz)_cvtpbh_ps 2021-11-18 08:48:19 +08:00
avx512bitalgintrin.h
avx512bwintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
avx512cdintrin.h
avx512dqintrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
avx512erintrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
avx512fintrin.h [X86] Replace avx512f integer mul reduction builtins with generic builtin 2022-05-09 14:10:28 +01:00
avx512fp16intrin.h [X86][FP16] add alias for f*mul_*ch intrinsics 2021-11-17 13:26:11 +08:00
avx512ifmaintrin.h
avx512ifmavlintrin.h
avx512pfintrin.h
avx512vbmi2intrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
avx512vbmiintrin.h
avx512vbmivlintrin.h
avx512vlbf16intrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
avx512vlbitalgintrin.h
avx512vlbwintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
avx512vlcdintrin.h
avx512vldqintrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
avx512vlfp16intrin.h [X86][FP16] add alias for f*mul_*ch intrinsics 2021-11-17 13:26:11 +08:00
avx512vlintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
avx512vlvbmi2intrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
avx512vlvnniintrin.h [Headers][X86] Replace \operation with \code{.operation} 2022-05-08 10:46:26 +01:00
avx512vlvp2intersectintrin.h [X86] Add VP2INTERSECT instructions 2019-05-31 06:09:35 +00:00
avx512vnniintrin.h
avx512vp2intersectintrin.h [X86] Add VP2INTERSECT instructions 2019-05-31 06:09:35 +00:00
avx512vpopcntdqintrin.h
avx512vpopcntdqvlintrin.h
avxintrin.h [NFC] Cleanup miscellaneous header items 2022-04-26 14:36:49 -07:00
avxvnniintrin.h [Headers][X86] Replace \operation with \code{.operation} 2022-05-08 10:46:26 +01:00
bmi2intrin.h
bmiintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
builtins.h [Clang] Add an empty builtins.h file. 2021-07-16 12:50:04 -05:00
cet.h Add cet.h for writing CET-enabled assembly code 2020-05-19 14:03:17 +08:00
cetintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
cldemoteintrin.h [X86] Support intrinsic _mm_cldemote 2020-03-12 10:03:41 +08:00
clflushoptintrin.h
clwbintrin.h
clzerointrin.h
cpuid.h Fix the wrong value of bit_AVXVNNI 2022-01-25 14:41:23 +08:00
crc32intrin.h [X86] Add CRC32 feature. 2021-09-06 17:24:30 +08:00
emmintrin.h [NFC] Fix argument types in doxygen comment 2022-04-26 16:30:55 -07:00
enqcmdintrin.h [X86] Add ENQCMD instructions 2019-06-06 08:28:42 +00:00
f16cintrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
float.h [AIX][clang] include_next through clang provided float.h 2022-01-28 13:27:10 -05:00
fma4intrin.h
fmaintrin.h
fxsrintrin.h
gfniintrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
hexagon_circ_brev_intrinsics.h [hexagon] Add {hvx,}hexagon_{protos,circ_brev...} 2021-06-30 22:58:56 -05:00
hexagon_protos.h [Hexagon] Add Hexagon v69 builtins to clang 2021-12-23 09:00:15 -08:00
hexagon_types.h [Hexagon] Driver/preprocessor options for Hexagon v69 2021-12-23 10:17:08 -08:00
hresetintrin.h [Headers][X86] Replace \operation with \code{.operation} 2022-05-08 10:46:26 +01:00
htmintrin.h
htmxlintrin.h
hvx_hexagon_protos.h [Hexagon] Add Hexagon v69 builtins to clang 2021-12-23 09:00:15 -08:00
ia32intrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
immintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
intrin.h [MSVC, ARM64] Add __readx18 intrinsics 2022-05-23 10:59:12 -07:00
inttypes.h AIX system headers need stdint.h and inttypes.h to be re-enterable 2019-06-20 15:36:32 +00:00
invpcidintrin.h
iso646.h
keylockerintrin.h [Headers][X86] Replace \operation with \code{.operation} 2022-05-08 10:46:26 +01:00
limits.h Revert fad7e491a0 with fixes applied 2022-01-29 08:12:16 -05:00
lwpintrin.h
lzcntintrin.h
mm3dnow.h
mm_malloc.h [Clang] Add attributes alloc_size and alloc_align to mm_malloc 2022-02-17 19:59:18 +01:00
mmintrin.h Check supported architectures in sseXYZ/avxXYZ headers 2021-09-14 09:57:54 +02:00
module.modulemap [Clang][SVE] Parse builtin type string for scalable vectors 2020-03-15 14:34:52 +00:00
movdirintrin.h
msa.h [Mips] Add intrinsics for 4-byte and 8-byte MSA loads/stores. 2020-02-11 11:47:30 +01:00
mwaitxintrin.h [X86] Mark various pointer arguments in builtins as const 2019-12-19 11:42:11 -08:00
nmmintrin.h Check supported architectures in sseXYZ/avxXYZ headers 2021-09-14 09:57:54 +02:00
opencl-c-base.h [OpenCL] Add cl_khr_subgroup_rotate builtins 2022-05-18 13:02:17 +01:00
opencl-c.h [OpenCL] Remove argument names from async copy builtins 2022-05-25 10:05:25 +01:00
pconfigintrin.h
pkuintrin.h
pmmintrin.h [X86] Use the unaligned vector typedefs for the lddqu intrinsics pointer arguments (PR20670) 2022-03-17 10:42:29 +00:00
popcntintrin.h [X86] Enable constexpr on POPCNT intrinsics (PR31446) 2020-08-20 21:38:04 +01:00
prfchwintrin.h prfchwintrin.h: Make _m_prefetchw take a pointer to volatile (PR49124) 2021-08-02 15:16:04 +02:00
ptwriteintrin.h
rdseedintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
rtmintrin.h [X86] Fix some signedness errors in x86 headers 2022-05-08 09:42:58 +01:00
s390intrin.h
serializeintrin.h [X86] Add SERIALIZE instruction. 2020-04-02 16:19:23 +08:00
sgxintrin.h
shaintrin.h
smmintrin.h [NFC] Cleanup miscellaneous header items 2022-04-26 14:36:49 -07:00
stdalign.h
stdarg.h
stdatomic.h Mark ATOMIC_VAR_INIT and ATOMIC_FLAG_INIT as deprecated 2022-01-18 13:41:56 -05:00
stdbool.h Roll back use of #warning for header deprecations 2022-05-26 14:51:39 -04:00
stddef.h [Headers][MSVC] Define wchar_t in stddef.h like MSVC if not using the builtin type 2022-05-12 09:38:07 -07:00
stdint.h Support the *_WIDTH macros in limits.h and stdint.h 2022-01-13 11:46:34 -05:00
stdnoreturn.h Roll back use of #warning for header deprecations 2022-05-26 14:51:39 -04:00
tbmintrin.h
tgmath.h
tmmintrin.h [X86] Remove __builtin_ia32_pabs intrinsics and use generic __builtin_elementwise_abs 2022-01-24 11:25:21 +00:00
tsxldtrkintrin.h [X86] Add TSXLDTRK instructions. 2020-04-09 13:17:29 +08:00
uintrintrin.h [Headers][X86] Replace \operation with \code{.operation} 2022-05-08 10:46:26 +01:00
unwind.h [ARM][libunwind] add PACBTI-M support for libunwind 2021-12-08 09:44:45 +00:00
vadefs.h
vaesintrin.h [NFC] Fix endif comments to match with include guard 2022-01-07 15:52:59 +08:00
varargs.h
vecintrin.h [SystemZ] Add support for new cpu architecture - arch14 2021-07-26 16:57:28 +02:00
velintrin.h [Clang][VE] Add vector mask intrinsics to clang 2022-03-17 18:52:28 +09:00
velintrin_approx.h [Clang][VE] Add the rest of intrinsics to clang 2022-03-17 00:17:21 +09:00
velintrin_gen.h [Clang][VE] Add the rest of intrinsics to clang 2022-03-17 00:17:21 +09:00
vpclmulqdqintrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
waitpkgintrin.h
wasm_simd128.h [WebAssembly] Fix names of SIMD instructions containing '_zero' 2022-03-16 13:34:57 -07:00
wbnoinvdintrin.h
wmmintrin.h Check supported architectures in sseXYZ/avxXYZ headers 2021-09-14 09:57:54 +02:00
x86gprintrin.h [clang] Address review comments on https://reviews.llvm.org/D113707 2021-11-17 14:04:16 -05:00
x86intrin.h Add header guards for header files that should not be included on the PS4 platform. 2020-04-30 16:17:34 -07:00
xmmintrin.h [NFC] Cleanup miscellaneous header items 2022-04-26 14:36:49 -07:00
xopintrin.h [X86] Add parentheses around casts in X86 intrinsic headers. 2021-08-14 18:14:44 -07:00
xsavecintrin.h
xsaveintrin.h
xsaveoptintrin.h
xsavesintrin.h
xtestintrin.h