llvm-project/clang/lib/Headers
Richard Smith 0e00a95b4f Add new warning for compound punctuation tokens that are split across macro expansions or split by whitespace.
For example:

    #define FOO(x) (x)
    FOO({});

... forms a statement-expression after macro expansion. This warning
applies to '({' and '})' delimiting statement-expressions, '[[' and ']]'
delimiting attributes, and '::*' introducing a pointer-to-member.

The warning for forming these compound tokens across macro expansions
(or across files!) is enabled by default; the warning for whitespace
within the tokens is not, but is included in -Wall.

Differential Revision: https://reviews.llvm.org/D86751
2020-08-28 13:35:50 -07:00
..
cuda_wrappers [CUDA] Added missing 'inline' for functions defined in a header. 2018-12-07 22:20:53 +00:00
openmp_wrappers [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in wrapper headers 2020-07-10 18:53:34 -05:00
ppc_wrappers Work around PR43337: don't try to use the vec_sel overloads for vector long long, since clang's <altivec.h> doesn't provide it yet! 2020-01-15 13:14:57 -08:00
CMakeLists.txt [OpenMP] Initial support for std::complex in target regions 2020-07-08 17:33:59 -05:00
__clang_cuda_builtin_vars.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
__clang_cuda_cmath.h [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in wrapper headers 2020-07-10 18:53:34 -05:00
__clang_cuda_complex_builtins.h [OpenMP][CUDA] Fix std::complex in GPU regions 2020-07-11 00:40:05 -05:00
__clang_cuda_device_functions.h [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in wrapper headers 2020-07-10 18:53:34 -05:00
__clang_cuda_intrinsics.h [CUDA] Fix order of memcpy arguments in __shfl_*(<64-bit type>). 2020-01-23 13:17:52 -08:00
__clang_cuda_libdevice_declares.h [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in wrapper headers 2020-07-10 18:53:34 -05:00
__clang_cuda_math.h [CUDA] Work around a bug in rint/nearbyint caused by a broken implementation provided by CUDA. 2020-08-05 13:13:48 -07:00
__clang_cuda_math_forward_declares.h Fix __clang_cuda_math_forward_declares.h 2020-06-10 23:47:13 -04:00
__clang_cuda_runtime_wrapper.h [CUDA] Define __CUDACC__ before standard library headers 2020-04-17 12:56:13 -07:00
__clang_hip_libdevice_declares.h Make clang HIP headers compatible with C++98 2020-08-07 13:50:22 -04:00
__clang_hip_math.h Make clang HIP headers compatible with C++98 2020-08-07 13:50:22 -04:00
__clang_hip_runtime_wrapper.h Make clang HIP headers compatible with C++98 2020-08-07 13:50:22 -04:00
__stddef_max_align_t.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
__wmmintrin_aes.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
__wmmintrin_pclmul.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
adxintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
altivec.h Add new warning for compound punctuation tokens that are split across macro expansions or split by whitespace. 2020-08-28 13:35:50 -07:00
ammintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
amxintrin.h [X86-64] Support Intel AMX Intrinsic 2020-07-07 10:13:40 +08:00
arm64intr.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
arm_acle.h [clang][Headers] Use __has_builtin instead of _MSC_VER. 2020-03-06 13:48:09 -08:00
arm_cmse.h [ARM][CMSE] Add CMSE header and builtins 2019-12-12 15:01:14 +00:00
armintr.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx2intrin.h [X86] Support intrinsic _mm_broadcastsi128_si256 2020-03-12 10:56:39 +08:00
avx512bf16intrin.h [X86] Enable intrinsics that convert float and bf16 data to each other 2019-06-11 01:17:28 +00:00
avx512bitalgintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512bwintrin.h [X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation 2020-05-22 20:12:57 -07:00
avx512cdintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512dqintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512erintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512fintrin.h [X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation 2020-05-22 20:12:57 -07:00
avx512ifmaintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512ifmavlintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512pfintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vbmi2intrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vbmiintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vbmivlintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vlbf16intrin.h [X86] Enable intrinsics that convert float and bf16 data to each other 2019-06-11 01:17:28 +00:00
avx512vlbitalgintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vlbwintrin.h [X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation 2020-05-22 20:12:57 -07:00
avx512vlcdintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vldqintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vlintrin.h [X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation 2020-05-22 20:12:57 -07:00
avx512vlvbmi2intrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vlvnniintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vlvp2intersectintrin.h [X86] Add VP2INTERSECT instructions 2019-05-31 06:09:35 +00:00
avx512vnniintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vp2intersectintrin.h [X86] Add VP2INTERSECT instructions 2019-05-31 06:09:35 +00:00
avx512vpopcntdqintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avx512vpopcntdqvlintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
avxintrin.h [X86] Mark various pointer arguments in builtins as const 2019-12-19 11:42:11 -08:00
bmi2intrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
bmiintrin.h Add header guards for header files that should not be included on the PS4 platform. 2020-04-30 16:17:34 -07:00
cet.h Add cet.h for writing CET-enabled assembly code 2020-05-19 14:03:17 +08:00
cetintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
cldemoteintrin.h [X86] Support intrinsic _mm_cldemote 2020-03-12 10:03:41 +08:00
clflushoptintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
clwbintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
clzerointrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
cpuid.h [X86-64] Support Intel AMX Intrinsic 2020-07-07 10:13:40 +08:00
emmintrin.h [X86] Fix implicit sign conversion warnings in X86 headers. 2020-04-07 11:25:08 +01:00
enqcmdintrin.h [X86] Add ENQCMD instructions 2019-06-06 08:28:42 +00:00
f16cintrin.h [X86] Remove semicolons at the end of intrinsics implemented as macros so they can be used as arguments to other intrinsics. 2019-05-19 01:01:52 +00:00
float.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
fma4intrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
fmaintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
fxsrintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
gfniintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
htmintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
htmxlintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
ia32intrin.h [X86] Enable constexpr on ROTL/ROTR intrinsics (PR31446) 2020-08-23 16:11:58 +01:00
immintrin.h [X86-64] Support Intel AMX Intrinsic 2020-07-07 10:13:40 +08:00
intrin.h [X86] Enabled a bunch of 64-bit Interlocked* functions intrinsics on 32-bit Windows to match recent MSVC 2020-07-08 10:39:56 -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 Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
iso646.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
limits.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
lwpintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
lzcntintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
mm3dnow.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
mm_malloc.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
mmintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
module.modulemap [Clang][SVE] Parse builtin type string for scalable vectors 2020-03-15 14:34:52 +00:00
movdirintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
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 Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
opencl-c-base.h [OpenCL] Fix lang mode predefined macros for C++ mode. 2019-08-12 10:44:07 +00:00
opencl-c.h [OpenCL] Add cl_khr_extended_subgroup extensions. 2020-06-04 13:29:30 +01:00
pconfigintrin.h [X86] Make `x86intrin.h`, `immintrin.h` includable with `-fno-gnu-inline-asm`. 2019-05-13 22:40:11 +00:00
pkuintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
pmmintrin.h [X86] Mark various pointer arguments in builtins as const 2019-12-19 11:42:11 -08:00
popcntintrin.h [X86] Enable constexpr on POPCNT intrinsics (PR31446) 2020-08-20 21:38:04 +01:00
prfchwintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
ptwriteintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
rdseedintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
rtmintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
s390intrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
serializeintrin.h [X86] Add SERIALIZE instruction. 2020-04-02 16:19:23 +08:00
sgxintrin.h [X86] Make `x86intrin.h`, `immintrin.h` includable with `-fno-gnu-inline-asm`. 2019-05-13 22:40:11 +00:00
shaintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
smmintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
stdalign.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
stdarg.h Revert Include corecrt.h in stddef.h and vcruntime.h in stdarg.h to improve MS compatibility. 2019-05-08 22:01:20 +00:00
stdatomic.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
stdbool.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
stddef.h Revert Include corecrt.h in stddef.h and vcruntime.h in stdarg.h to improve MS compatibility. 2019-05-08 22:01:20 +00:00
stdint.h AIX system headers need stdint.h and inttypes.h to be re-enterable 2019-06-20 15:36:32 +00:00
stdnoreturn.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
tbmintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
tgmath.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
tmmintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
tsxldtrkintrin.h [X86] Add TSXLDTRK instructions. 2020-04-09 13:17:29 +08:00
unwind.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
vadefs.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
vaesintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
varargs.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
vecintrin.h [SystemZ] Avoid __INTPTR_TYPE__ conversions in vecintrin.h 2020-04-28 18:49:49 +02:00
vpclmulqdqintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
waitpkgintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
wasm_simd128.h [WebAssembly] Fix types in wasm_simd128.h and add tests 2020-08-05 14:00:01 -07:00
wbnoinvdintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
wmmintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00: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 [X86] Fix implicit sign conversion warnings in X86 headers. 2020-04-07 11:25:08 +01:00
xopintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
xsavecintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
xsaveintrin.h [X86] Remove semicolons at the end of intrinsics implemented as macros so they can be used as arguments to other intrinsics. 2019-05-19 01:01:52 +00:00
xsaveoptintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
xsavesintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
xtestintrin.h Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00