llvm-project/clang/test
Dan Gohman 0d4e243456 [WebAssembly] Improve clang diagnostics for wasm attributes
This patch addresses the review comments on r352930:

 - Removes redundant diagnostic checking code
 - Removes errnoneous use of diag::err_alias_is_definition, which
   turned out to be ineffective anyway since functions can be defined later
   in the translation unit and avoid detection.
 - Adds a test for various invalid cases for import_name and import_module.

This reapplies D59520, with the addition of adding
`InGroup<IgnoredAttributes>` to the new warnings, to fix the
Misc/warning-flags.c failure.

Differential Revision: https://reviews.llvm.org/D59520
2020-06-05 14:32:51 -07:00
..
ARCMT
AST [WebAssembly] Improve clang diagnostics for wasm attributes 2020-06-05 14:32:51 -07:00
ASTMerge
Analysis [analyzer] Ignore calculated indices of <= 0 in VLASizeChecker 2020-06-04 07:25:35 -05:00
CXX Undo removal of test for dr777. 2020-06-02 14:19:42 -07:00
ClangScanDeps
CodeCompletion [AST] Preserve the type in RecoveryExprs for broken function calls. 2020-05-11 08:46:18 +02:00
CodeGen [ASan][Test] Fix globals test for Mach-O 2020-06-05 23:08:11 +02:00
CodeGenCUDA [CUDA][HIP] Fix constexpr variables for C++17 2020-06-03 21:56:52 -04:00
CodeGenCXX [codeview] Put !heapallocsite on calls to operator new 2020-06-05 12:52:38 -07:00
CodeGenCoroutines [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
CodeGenHIP
CodeGenObjC Return "[InstCombine] Simplify compare of Phi with constant inputs against a constant" 2020-06-05 20:48:29 +07:00
CodeGenObjCXX [os_log][test] Remove -O1 from a test, NFC 2020-06-01 16:54:16 -07:00
CodeGenOpenCL Fix test on PS4 linux bot. 2020-06-02 20:17:02 +00:00
CodeGenOpenCLCXX [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
CodeGenSYCL [SYCL] Update __builtin_unique_stable_name for other backends. 2020-04-17 07:54:18 -07:00
Coverage
CoverageMapping
Driver Revert "[HIP] Add default header and include path" 2020-06-05 15:42:57 -04:00
FixIt
Format
Frontend [Lexer] Fix invalid suffix diagnostic for fixed-point literals 2020-05-27 16:16:56 -07:00
Headers [OpenMP][SYCL] Improve diagnosing of unsupported types usage 2020-05-29 18:00:48 +03:00
Import
Index [clang][index] Fix a crash for accessing a null field decl. 2020-05-21 09:47:36 +02:00
Integration
InterfaceStubs [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Layout [MS] Fix packed struct layout for arrays of aligned non-record types 2020-04-14 18:34:52 -07:00
Lexer [clang][slh] Add test for SLH feature checking macro 2020-05-15 12:23:31 -07:00
Misc [Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function 2020-06-02 10:21:02 -07:00
Modules [clang] Always allow including builtin headers in [no_undeclared_headers] modules. 2020-06-04 08:33:39 +02:00
OpenMP [OPENMP50]Codegen for inscan reductions in worksharing directives. 2020-06-04 16:29:33 -04:00
PCH [OPENMP]Consider 'omp_null_allocator' as a predefined allocator. 2020-05-07 10:11:06 -04:00
Parser [clang][asm goto][slh] Warn if asm goto + SLH 2020-05-20 09:46:18 -07:00
ParserSYCL [SYCL] Implement __builtin_unique_stable_name. 2020-03-25 07:01:50 -07:00
Preprocessor Revert "[HIP] Add default header and include path" 2020-06-05 15:42:57 -04:00
Profile [PGO] Fix computation of function Hash 2020-05-27 09:15:21 +02:00
Refactor
Rewriter
Sema [WebAssembly] Improve clang diagnostics for wasm attributes 2020-06-05 14:32:51 -07:00
SemaCUDA [CUDA][HIP] Fix implicit HD function resolution 2020-06-04 16:54:52 -04:00
SemaCXX Revert "PR46209: properly determine whether a copy assignment operator is" 2020-06-04 23:45:36 -07:00
SemaObjC [Matrix] Implement matrix index expressions ([][]). 2020-06-01 20:08:49 +01:00
SemaObjCXX Revert "PR46209: properly determine whether a copy assignment operator is" 2020-06-04 23:45:36 -07:00
SemaOpenCL [OpenCL] Add cl_khr_extended_subgroup extensions. 2020-06-04 13:29:30 +01:00
SemaOpenCLCXX [OpenCL] Added addrspace_cast operator in C++ mode. 2020-05-18 12:07:54 +01:00
SemaSYCL [OpenMP][SYCL] Improve diagnosing of unsupported types usage 2020-05-29 18:00:48 +03:00
SemaTemplate PR45589: Properly decompose overloaded `&&` and `||` operators in 2020-05-12 13:45:45 -07:00
TableGen
Templight
Tooling [Tooling] Drop leading/trailing whitespace from compile_flags.txt lines 2020-05-19 11:20:02 +02:00
Unit Revert a few unsuccessful attempts at fixing bots. 2020-04-13 17:09:21 -04:00
VFS
clang-rename
utils/update_cc_test_checks [utils] change default nameless value to "TMP" 2020-06-01 06:54:45 -04:00
.clang-format
CMakeLists.txt Stop passing site cfg files via --param to llvm-lit. 2020-04-07 08:20:40 -04:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [apple clang] disable in-process CC1 to preserve crashlog compatibility 2020-06-05 10:55:42 -07:00
lit.site.cfg.py.in [apple clang] disable in-process CC1 to preserve crashlog compatibility 2020-06-05 10:55:42 -07:00
make_test_dirs.pl