[PATCH] D114254: [libtooling][clang-tidy] Fix crashing on rendering invalid SourceRanges
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 22 03:13:20 PST 2021
steakhal updated this revision to Diff 388850.
steakhal marked an inline comment as done.
steakhal added a comment.
- prefer `empty()` over `size() == 0`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114254/new/
https://reviews.llvm.org/D114254
Files:
clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
clang-tools-extra/test/clang-tidy/infrastructure/export-diagnostics.cpp
clang-tools-extra/unittests/clang-tidy/ClangTidyDiagnosticConsumerTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114254.388850.patch
Type: text/x-patch
Size: 5955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211122/e6b93a9b/attachment.bin>
More information about the cfe-commits
mailing list