diff options
author | Dan Gohman <sunfish@mozilla.com> | 2020-06-05 14:27:52 -0700 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2020-06-05 14:32:51 -0700 |
commit | 0d4e243456809eabd6914669753eda242b5da4cb (patch) | |
tree | 5d5bea7f52c8dbf90686555a7d78ef151e6f9854 /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp | |
parent | 8b05b6d53342b4532b046f85cbbe3278ed4d59cb (diff) | |
download | llvm-0d4e243456809eabd6914669753eda242b5da4cb.zip llvm-0d4e243456809eabd6914669753eda242b5da4cb.tar.gz llvm-0d4e243456809eabd6914669753eda242b5da4cb.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions