[clangd] also filter out another possible diag from MS ASM syntax

This commit is contained in:
Sam McCall 2019-12-09 19:21:58 +01:00
parent be7d633a6f
commit d0ccd55151

View File

@ -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;
}