diff options
author | Salman Javed <mail@salmanjaved.org> | 2021-11-10 01:03:26 +1300 |
---|---|---|
committer | Salman Javed <mail@salmanjaved.org> | 2021-11-10 01:09:35 +1300 |
commit | 00769572025f9b0d36dc832d3c1bc61500091ed5 (patch) | |
tree | 840c22f076c8fd12b6874ba48de295ab0aa6766d /clang/lib/Basic/SourceManager.cpp | |
parent | 9b7c584ed876546731d59ef6c8d60a74199d38bb (diff) | |
download | llvm-00769572025f9b0d36dc832d3c1bc61500091ed5.zip llvm-00769572025f9b0d36dc832d3c1bc61500091ed5.tar.gz llvm-00769572025f9b0d36dc832d3c1bc61500091ed5.tar.bz2 |
[clang-tidy] Fix lint warning in ClangTidyDiagnosticConsumer.cpp (NFC)
Calling clang-tidy on ClangTidyDiagnosticConsumer.cpp gives a
"unmatched NOLINTBEGIN without a subsequent NOLINTEND" warning.
The "NOLINTBEGIN" and "NOLINTEND" string literals used in the
implementation of `createNolintError()` get mistaken for actual
NOLINTBEGIN/END comments used to suppress clang-tidy warnings.
Rewrite the string literals so that they can no longer be mistaken for
actual suppression comments.
Differential Revision: https://reviews.llvm.org/D113472
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions