Skip to content

Commit d0ccd55

Browse files
committedDec 9, 2019
[clangd] also filter out another possible diag from MS ASM syntax
1 parent be7d633 commit d0ccd55

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎clang-tools-extra/clangd/Diagnostics.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ bool mentionsMainFile(const Diag &D) {
7474
}
7575

7676
bool isBlacklisted(const Diag &D) {
77-
// clang will always fail to MS ASM as we don't link in desc + asm parser.
78-
if (D.ID == clang::diag::err_msasm_unable_to_create_target)
77+
// clang will always fail parsing MS ASM, we don't link in desc + asm parser.
78+
if (D.ID == clang::diag::err_msasm_unable_to_create_target ||
79+
D.ID == clang::diag::err_msasm_unsupported_arch)
7980
return true;
8081
return false;
8182
}

0 commit comments

Comments
 (0)
Please sign in to comment.