aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorSalman Javed <mail@salmanjaved.org>2021-11-10 01:03:26 +1300
committerSalman Javed <mail@salmanjaved.org>2021-11-10 01:09:35 +1300
commit00769572025f9b0d36dc832d3c1bc61500091ed5 (patch)
tree840c22f076c8fd12b6874ba48de295ab0aa6766d /clang/lib/Basic/SourceManager.cpp
parent9b7c584ed876546731d59ef6c8d60a74199d38bb (diff)
downloadllvm-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