aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2021-11-16 15:58:45 +0100
committerHaojian Wu <hokein.wu@gmail.com>2021-11-17 15:31:38 +0100
commit4ea066acc928d772c2a610024b7f0656b36e6afd (patch)
tree814a413479b931d3dd5a8d5fdd8068b6c0d8a575 /clang/lib/Frontend/InitPreprocessor.cpp
parentbdabf3c38a2efcbe1b5d28a262cb1b96a08a3156 (diff)
downloadllvm-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