llvm-project/clang/test
MuAlphaOmegaEpsilon ccce1a03c9 Don't trigger unused-parameter warnings on naked functions
This commit checks if a function is marked with the naked attribute
and, if it is, will silence the emission of any unused-parameter
warning.

Inside a naked function only the usage of basic ASM instructions is
expected. In this context the parameters can actually be used by
fetching them according to the underlying ABI. Since parameters might
be used through ASM instructions, the linter and the compiler will have
a hard time understanding if one of those is unused or not, therefore
no unused-parameter warning should ever be triggered whenever a
function is marked naked.
2022-01-27 11:40:08 -05:00
..
APINotes
ARCMT [NFC][clang] Inclusive language: replace masterPort with mainPort 2021-11-18 11:51:06 -06:00
AST Reland (2) "[AST] Add RParen loc for decltype AutoTypeloc."" 2022-01-17 11:33:11 +01:00
ASTMerge [AIX] Disable tests that fail because of no 64-bit XCOFF object file support 2022-01-09 12:25:24 -05:00
Analysis [CMake] [Clang] Add option to specify PowerPC long double format 2022-01-27 00:50:53 +08:00
CXX [C++20] [Modules] Only check decls under namespace scope in CheckRedeclarationExported 2022-01-26 10:54:52 +08:00
ClangScanDeps Don't run test/ClangScanDeps/modules-symlink.c on Windows 2022-01-24 16:52:01 +01:00
CodeCompletion [CodeCompletion][clangd] Clean __uglified parameter names in completion & hover 2022-01-26 15:51:17 +01:00
CodeGen Default to DWARFv4 on Windows 2022-01-26 18:01:07 -08:00
CodeGenCUDA [IRGen] Do not overwrite existing attributes in CGCall. 2022-01-20 13:45:19 +00:00
CodeGenCUDASPIRV [CUDA][SPIRV] Use OpenCLKernel CC for CUDA -> SPIRV 2021-12-06 15:06:57 -08:00
CodeGenCXX Reland "[AlwaysInliner] Enable call site inlining to make flatten attribute working again (#53360)" 2022-01-26 01:11:06 +01:00
CodeGenCoroutines [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
CodeGenHIP [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
CodeGenObjC [ObjC] Emit selector load right before msgSend call. 2022-01-26 20:52:54 -08:00
CodeGenObjCXX [ObjC] Emit selector load right before msgSend call. 2022-01-26 20:52:54 -08:00
CodeGenOpenCL [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
CodeGenOpenCLCXX [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
CodeGenSYCL [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
Coverage
CoverageMapping [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
Driver [cc1as] Remove -Wa,--compress-debug-sections=zlib-gnu 2022-01-26 13:28:51 -08:00
FixIt [Sema] Warn about printf %n on Android and Fuchsia 2022-01-21 21:00:39 +00:00
Format
Frontend [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
Headers [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
Import Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Index [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
Integration
InterfaceStubs [ifs] Use a tmp file instead of "-" 2022-01-21 11:19:37 -05:00
Interpreter
Layout Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Lexer [Diagnostics] Don't drop a statically set NoWarningAsError flag during option processing 2022-01-10 16:38:01 -08:00
LibClang
Misc [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
Modules [clang][sema] Add missing diagnostic parameter 2022-01-24 09:59:20 +01:00
OpenMP [OMPIRBuilder] Generate aggregate argument for parallel region outlined functions 2022-01-25 20:53:45 -05:00
PCH Reland (2) "[AST] Add RParen loc for decltype AutoTypeloc."" 2022-01-17 11:33:11 +01:00
Parser Fix a failed assertion on an invalid typename requirement 2022-01-18 11:59:08 -05:00
ParserSYCL
Preprocessor [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
Profile Resolve lit failures in clang-aarch64* 2022-01-16 23:06:05 +09:00
Refactor
Rewriter [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
Sema Don't trigger unused-parameter warnings on naked functions 2022-01-27 11:40:08 -05:00
SemaCUDA CUDA/HIP: Allow __int128 on the host side 2022-01-04 16:09:26 -08:00
SemaCXX Don't trigger unused-parameter warnings on naked functions 2022-01-27 11:40:08 -05:00
SemaObjC [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
SemaObjCXX Revert "[Sema] check PseudoObject when rebuilding CXXOperatorCallExpr in template instantiation" 2021-12-01 11:18:30 +01:00
SemaOpenCL [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
SemaOpenCLCXX [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
SemaSYCL Add support for sycl_special_class attribute. 2022-01-25 14:17:09 -08:00
SemaTemplate Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +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 [clang] support relative roots to vfs overlays 2022-01-19 10:13:06 -08:00
clang-rename
utils/update_cc_test_checks [IRGen] Do not overwrite existing attributes in CGCall. 2022-01-20 13:45:19 +00:00
.clang-format
CMakeLists.txt Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -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 [clang] Use usual lit pattern for CLANG_DEFAULT_PIE_ON_LINUX and LLVM_WITH_Z3 2021-12-14 21:44:56 -05:00
make_test_dirs.pl