commit | 2fdf1562fe6147217e721572833f239138755443 | [log] [tgz] |
---|---|---|
author | Haojian Wu <hokein.wu@gmail.com> | Tue Nov 16 15:58:45 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 17 06:35:39 2021 -0800 |
tree | d1dd852b54189ca2116119049f128551fbdf599c | |
parent | 2526edab217735fa5f6ae0b145eae3ece0deec62 [diff] |
[clangd] Fix assertion crashes on unmatched NOLINTBEGIN comments. The overload shouldSuppressDiagnostic seems unnecessary, and it is only used in clangd. This patch removes it and use the real one (suppression diagnostics are discarded in clangd at the moment). Fixes https://github.com/clangd/clangd/issues/929 Differential Revision: https://reviews.llvm.org/D113999 GitOrigin-RevId: 4ea066acc928d772c2a610024b7f0656b36e6afd