This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Have suppression comments take precedence over warning-as-error
ClosedPublic

Authored by nridge on May 10 2020, 12:09 PM.

Details

Summary

This matches the clang-tidy behaviour.

Diff Detail

Event Timeline

nridge created this revision.May 10 2020, 12:09 PM
kadircet accepted this revision.May 11 2020, 1:35 PM

LGTM, thanks!

Could you also put Fixes https://github.com/clangd/clangd/issues/375 in the commit message?

clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
381

you can also drop the // error-ok now as there are no diags left.

This revision is now accepted and ready to land.May 11 2020, 1:35 PM
nridge updated this revision to Diff 263361.May 11 2020, 11:27 PM

Address review comment

This revision was automatically updated to reflect the committed changes.