llvm-project/clang/test/Headers
Diogo N. Sampaio fcc97daa8a Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89
Summary:
The inline attribute is not valid for C standard 89. Replace the argument in the generation of header files with __inline, as well adding tests for both header files.

Reviewers: pbarrio, SjoerdMeijer, javed.absar, t.p.northover

Subscribers: t.p.northover, kristof.beyls, chrib, cfe-commits

Differential Revision: https://reviews.llvm.org/D51683

test/Headers/arm-fp16-header.c
test/Headers/arm-neon-header.c
utils/TableGen/NeonEmitter.cpp

llvm-svn: 341475
2018-09-05 14:56:21 +00:00
..
Inputs [Headers] Reapply: Add #include_next for tgmath.h on Darwin 2017-03-16 23:19:00 +00:00
altivec-header.c Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
altivec-intrin.c Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
arm-acle-header.c
arm-fp16-header.c Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89 2018-09-05 14:56:21 +00:00
arm-neon-header.c Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89 2018-09-05 14:56:21 +00:00
arm64-apple-ios-types.cpp
c11.c
c89.c
cpuid.c
cxx11.cpp
float-darwin.c [Headers] Enable #include_next<float.h> on Darwin 2016-12-08 02:13:56 +00:00
float.c [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL 2018-08-08 20:38:38 +00:00
float16.c This adds the _Float16 preprocessor macro definitions. 2017-09-13 15:23:19 +00:00
htm-header.c Fix parsing of htmxlintrin.h in C++ mode 2017-03-20 22:31:33 +00:00
int64-type.c
limits.cpp
mm3dnow.c [X86] Add 3dnow and 3dnowa to the list of valid target features 2017-11-06 20:33:13 +00:00
ms-cppoperkey.cpp support operator keywords used in Windows SDK 2017-06-09 16:29:35 +00:00
ms-cppoperkey1.cpp support operator keywords used in Windows SDK 2017-06-09 16:29:35 +00:00
ms-cppoperkey2.cpp support operator keywords used in Windows SDK 2017-06-09 16:29:35 +00:00
ms-intrin.cpp Make __shiftleft128 / __shiftright128 real compiler built-ins. 2018-08-17 17:19:06 +00:00
ms-null-ms-header-vs-stddef.cpp Fix typos in clang 2018-04-06 15:14:32 +00:00
ms-wchar.c
opencl-c-header.cl [OpenCL] Correct ndrange_t implementation 2017-02-16 12:27:47 +00:00
pconfigintin.c [X86] NFC Include immintrin.h in CodeGen tests 2018-05-24 07:09:08 +00:00
pmmintrin.c
sgxintrin.c [X86] NFC Include immintrin.h in CodeGen tests 2018-05-24 07:09:08 +00:00
stdarg-gnuc_va_list.c Guard __gnuc_va_list typedef. 2017-01-23 19:09:21 +00:00
stdarg.cpp Add test that we get the correct calling convention and mangling for va_list. 2017-08-16 01:46:46 +00:00
stdatomic.c Use __CLANG_ATOMIC_TYPE_LOCK_FREE macros in `stdatomic.h` 2017-04-20 23:07:38 +00:00
stdbool.cpp In stdbool.h, define bool, false, true only in gnu++98 2017-12-08 08:28:08 +00:00
stddefneeds.cpp
stdint-typeof-MINMAX.cpp Headers: Make the type of SIZE_MAX the same as size_t 2017-04-27 21:49:45 +00:00
tgmath-darwin.c [Headers] Reapply: Add #include_next for tgmath.h on Darwin 2017-03-16 23:19:00 +00:00
tgmath.c
thumbv7-apple-ios-types.cpp
typedef_guards.c
unwind.c
wchar_limits.cpp Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
wmmintrin.c
x86-intrinsics-headers-clean.cpp Add a test to verify the x86 intrinsic headers compile cleanly with no warnings or errors. 2018-06-20 01:05:09 +00:00
x86-intrinsics-headers.c
x86_64-apple-macosx-types.cpp
x86intrin-2.c [X86] Reduce the number of setzero intrinsics to just the set defined by the Intel Intrinsics Guide. 2018-05-30 18:02:11 +00:00
x86intrin.c
x86intrin.cpp Add some MS aliases for existing intrinsics 2016-09-14 21:19:43 +00:00
xmmintrin.c