llvm-project/clang/test
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
..
ARCMT Quickfix for failing tests. 2018-08-17 23:54:00 +00:00
ASTMerge [ASTImporter] Load external Decls when getting field index. 2018-08-08 09:40:57 +00:00
Analysis [analyzer] InnerPointerChecker: Fix a segfault when checking symbolic strings. 2018-08-30 18:45:05 +00:00
CXX Improve diagnostic for missing comma in template parameter list. 2018-08-17 19:43:40 +00:00
CodeCompletion [CodeComplete] Report location of opening parens for signature help 2018-08-30 13:08:03 +00:00
CodeGen [x86/SLH] Add a real Clang flag and LLVM IR attribute for Speculative 2018-09-04 12:38:00 +00:00
CodeGenCUDA Rename -mlink-cuda-bitcode to -mlink-builtin-bitcode 2018-08-20 18:16:48 +00:00
CodeGenCXX [WebAssembly] clang-format (NFC) 2018-08-31 20:57:00 +00:00
CodeGenCoroutines [Coroutines] Less IR for noexcept await_resume 2018-06-23 18:57:26 +00:00
CodeGenObjC [ObjC] Error out when using forward-declared protocol in a @protocol 2018-08-17 22:18:08 +00:00
CodeGenObjCXX [DEBUGINFO] Add support for emission of the debug directives only. 2018-08-31 13:56:14 +00:00
CodeGenOpenCL AMDGPU: Add another missing builtin 2018-08-09 22:18:37 +00:00
Coverage [PPC] Remove Darwin support from POWER backend. 2018-08-27 19:53:19 +00:00
CoverageMapping [OPENMP] Fix PR38256: Fix locations of the artificial conditional op. 2018-07-25 14:40:26 +00:00
Driver Enable DWARF accelerator tables by default when tuning for lldb (-glldb => -gpubnames) 2018-09-05 14:38:44 +00:00
FixIt [Sema] Add fixit for unused lambda captures 2018-07-16 07:23:47 +00:00
Format
Frontend [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
Headers Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89 2018-09-05 14:56:21 +00:00
Import [ASTImporter] Add test for PackExpansionExpr 2018-08-24 18:01:56 +00:00
Index [Index] Update tests allowing double4 type to be "invalid" 2018-09-03 12:43:26 +00:00
Integration
Layout NFC - Fix typo in test/Layout/itanium-pack-and-align.cpp 2018-07-04 11:21:44 +00:00
Lexer [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
Misc Allow all supportable non-type attributes to be used with #pragma clang attribute. 2018-09-05 00:28:57 +00:00
Modules [ODRHash] Extend hash to support all Type's. 2018-09-04 22:53:19 +00:00
OpenMP [OPENMP] Fix PR38710: static functions are not emitted as implicitly 2018-08-30 18:56:11 +00:00
PCH [ObjC] Error out when using forward-declared protocol in a @protocol 2018-08-17 22:18:08 +00:00
Parser Allow all supportable non-type attributes to be used with #pragma clang attribute. 2018-09-05 00:28:57 +00:00
Preprocessor Revert the tests that should've been reverted in rL341115 2018-08-30 20:53:15 +00:00
Profile [FileCheck] Add -allow-deprecated-dag-overlap to failing clang tests 2018-07-11 20:26:20 +00:00
Refactor
Rewriter Reapply "[Parse] Use CapturedStmt for @finally on MSVC" 2018-06-08 00:30:00 +00:00
Sema [NEON] Define fp16 vld and vst intrinsics conditionally 2018-08-19 16:30:57 +00:00
SemaCUDA Revert the tests that should've been reverted in rL341115 2018-08-30 20:53:15 +00:00
SemaCXX Add test file missed from r341097. 2018-08-30 19:17:11 +00:00
SemaObjC [ObjC] Error out when using forward-declared protocol in a @protocol 2018-08-17 22:18:08 +00:00
SemaObjCXX [Sema] Relax a failing assert in TemplateArgumentLoc 2018-07-31 00:18:30 +00:00
SemaOpenCL [OpenCL] Traverse vector types for ocl extensions support 2018-09-03 11:43:22 +00:00
SemaOpenCLCXX [OpenCL] Support new/delete in Sema 2018-06-14 09:51:54 +00:00
SemaTemplate [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
TableGen [Clang Tablegen][RFC] Allow Early Textual Substitutions in `Diagnostic` messages. 2018-05-19 03:12:04 +00:00
Templight
Tooling [Tooling] Allow -flto flags and filter out -Wa, flags 2018-08-22 17:13:40 +00:00
Unit
VFS [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
clang-rename
.clang-format
CMakeLists.txt [analyzer] Fix bots by removing new check-clang-analyzer commands from CHECK-ALL 2018-08-14 18:55:34 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
lit.site.cfg.py.in Import lit.llvm after rC341132 2018-08-31 00:24:36 +00:00
make_test_dirs.pl