llvm-project/clang/test
Aaron Ballman 1c2558021c Use functions with prototypes when appropriate; NFC
A significant number of our tests in C accidentally use functions
without prototypes. This patch converts the function signatures to have
a prototype for the situations where the test is not specific to K&R C
declarations. e.g.,

  void func();

becomes

  void func(void);

This is the final batch of tests being updated to add prototypes,
hopefully.
2022-02-24 15:30:13 -05:00
..
APINotes
ARCMT Use functions with prototypes when appropriate; NFC 2022-02-17 15:33:50 -05:00
AST Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
ASTMerge Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
Analysis Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
CXX [C++20][Modules][3/8] Initial handling for module partitions. 2022-02-24 09:01:09 +00:00
ClangScanDeps [clang][deps] Return the whole TU command line 2022-02-23 15:46:20 +01:00
CodeCompletion Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
CodeGen Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
CodeGenCUDA [HIP] Support `-fgpu-default-stream` 2022-02-23 22:28:29 -05:00
CodeGenCUDASPIRV Revert "[CUDA][SPIRV] Assign global address space to CUDA kernel arguments" 2022-02-17 14:32:10 -08:00
CodeGenCXX [Clang] Rename `disable-noundef-analysis` flag to `-[no-]enable-noundef-analysis` 2022-02-18 17:02:41 +09:00
CodeGenCoroutines [Clang] Rename `disable-noundef-analysis` flag to `-[no-]enable-noundef-analysis` 2022-02-18 17:02:41 +09:00
CodeGenHIP [HIPSPV] Fix literals are mapped to Generic address space 2022-02-05 17:26:52 -05:00
CodeGenObjC Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
CodeGenObjCXX [Clang] Rename `disable-noundef-analysis` flag to `-[no-]enable-noundef-analysis` 2022-02-18 17:02:41 +09:00
CodeGenOpenCL [Clang] Rename `disable-noundef-analysis` flag to `-[no-]enable-noundef-analysis` 2022-02-18 17:02:41 +09:00
CodeGenOpenCLCXX [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
CodeGenSYCL [SYCL] Disallow explicit casts between mismatching address spaces 2022-02-07 11:57:30 +03:00
Coverage Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
CoverageMapping Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
Driver [Driver][RISCV] Add missing rv64 test case 2022-02-23 22:53:42 -08:00
FixIt Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
Format
Frontend [OpenMP] Make section variable external to prevent collisions 2022-02-24 10:57:09 -05:00
Headers [InstCombine] Canonicalize SPF to min/max intrinsics 2022-02-24 09:01:20 +01:00
Import
Index Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
Integration Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
InterfaceStubs Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
Interpreter
Layout
Lexer Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
LibClang
Misc Revert "[NFC] Update new warning to test" 2022-02-15 22:23:26 -05:00
Modules [C++20][Modules][3/8] Initial handling for module partitions. 2022-02-24 09:01:09 +00:00
OpenMP Revert "[OPENMP]Fix PR50347: Mapping of global scope deep object fails." 2022-02-24 12:04:39 -08:00
PCH Fix the declaration printer to properly handle prototypes in C 2022-02-17 13:54:09 -05:00
Parser [clang] inheritance fix for nomerge attribute 2022-02-11 15:51:08 +01:00
ParserSYCL
Preprocessor [HIP] Support `-fgpu-default-stream` 2022-02-23 22:28:29 -05:00
Profile Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
Refactor Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
Rewriter Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
Sema Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
SemaCUDA [CUDA][HIP] Do not promote constexpr var with non-constant initializer 2022-02-15 15:15:55 -05:00
SemaCXX [clang] Warn on unqualified calls to std::move and std::forward 2022-02-24 07:23:39 -08:00
SemaObjC Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
SemaObjCXX [clang] roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable"". 2022-02-04 20:17:34 +01:00
SemaOpenCL [OpenCL] Align subgroup builtin guards 2022-02-23 12:22:09 +00:00
SemaOpenCLCXX [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
SemaSYCL [SYCL] Disallow explicit casts between mismatching address spaces 2022-02-07 11:57:30 +03:00
SemaTemplate [clang][SemaTemplate] Fix a stack use after scope 2022-02-17 21:47:50 +01:00
Syntax [Pseudo] Token/TokenStream, PP directive parser. 2022-02-23 17:52:02 +01:00
TableGen [clang] Introduce support for disabling warnings in system macros 2022-01-12 08:18:19 +00:00
Templight [Templight] Don't display empty strings for names of unnamed template parameters 2022-01-24 16:37:11 +01:00
Tooling [clang-check] Adjust argument adjusters for clang-check to strip options blocking the static analyzer 2022-01-14 10:05:47 +01:00
Unit
VFS Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
clang-rename
utils/update_cc_test_checks Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
.clang-format
CMakeLists.txt clang-analyzer plugins require LLVM_ENABLE_PLUGINS also 2022-02-16 11:59:09 -05:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [AIX] Disable tests that fail because of no 64-bit XCOFF object file support 2022-01-09 12:25:24 -05:00
lit.site.cfg.py.in replace clang LLVM_ENABLE_PLUGINS -> CLANG_PLUGIN_SUPPORT in tests 2022-02-09 17:31:34 -05:00
make_test_dirs.pl