llvm-project/clang/lib
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
..
ARCMigrate [NFC] Refactoring PropertyAttributeKind for ObjCPropertyDecl and ObjCDeclSpec. 2020-04-23 17:21:25 -04:00
AST [ARM] Add poly64_t on AArch32. 2020-06-05 13:04:21 +01:00
ASTMatchers [ASTMatchers] Matchers related to C++ inheritance 2020-05-29 12:38:01 -07:00
Analysis [Sema] Use isAlwaysUninit for -Wuninitialized-const-reference after D79895 2020-06-02 11:25:04 -07:00
Basic [clang][BFloat] add NEON emitter for bfloat 2020-06-05 14:11:51 +01:00
CodeGen [codeview] Put !heapallocsite on calls to operator new 2020-06-05 12:52:38 -07:00
CrossTU Revert "[analyzer] On-demand parsing capability for CTU" 2020-04-27 14:27:04 +02:00
DirectoryWatcher [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
Driver Revert "[HIP] Add default header and include path" 2020-06-05 15:42:57 -04:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
Frontend Options for Basic Block Sections, enabled in D68063 and D73674. 2020-06-02 00:23:32 -07:00
FrontendTool [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Headers Revert "[HIP] Add default header and include path" 2020-06-05 15:42:57 -04:00
Index [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
Lex [clang] Always allow including builtin headers in [no_undeclared_headers] modules. 2020-06-04 08:33:39 +02:00
Parse [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [WebAssembly] Improve clang diagnostics for wasm attributes 2020-06-05 14:32:51 -07:00
Serialization [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
StaticAnalyzer [Analyzer][NoUncountedMembersChecker] Fix crash for C structs 2020-06-04 15:57:19 -07:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Propose naming principle for NodeRole and apply it 2020-06-04 20:08:35 +02:00
CMakeLists.txt Move unittest helpers to a shared location 2020-05-29 16:47:33 +02:00