diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2021-11-16 15:58:45 +0100 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2021-11-17 15:31:38 +0100 |
commit | 4ea066acc928d772c2a610024b7f0656b36e6afd (patch) | |
tree | 814a413479b931d3dd5a8d5fdd8068b6c0d8a575 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | bdabf3c38a2efcbe1b5d28a262cb1b96a08a3156 (diff) | |
download | llvm-4ea066acc928d772c2a610024b7f0656b36e6afd.zip llvm-4ea066acc928d772c2a610024b7f0656b36e6afd.tar.gz llvm-4ea066acc928d772c2a610024b7f0656b36e6afd.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions