mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
[clangd] also filter out another possible diag from MS ASM syntax
This commit is contained in:
parent
be7d633a6f
commit
d0ccd55151
@ -74,8 +74,9 @@ bool mentionsMainFile(const Diag &D) {
|
||||
}
|
||||
|
||||
bool isBlacklisted(const Diag &D) {
|
||||
// clang will always fail to MS ASM as we don't link in desc + asm parser.
|
||||
if (D.ID == clang::diag::err_msasm_unable_to_create_target)
|
||||
// clang will always fail parsing MS ASM, we don't link in desc + asm parser.
|
||||
if (D.ID == clang::diag::err_msasm_unable_to_create_target ||
|
||||
D.ID == clang::diag::err_msasm_unsupported_arch)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user