[PATCH] D97632: [clang-tidy] Simplify diagnostics for UniqueptrResetRelease check
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 28 09:27:36 PST 2021
njames93 created this revision.
njames93 added reviewers: aaron.ballman, alexfh, gribozavr2.
Herald added a subscriber: xazax.hun.
njames93 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Tweak the diagnostics to create small replacements rather than grabbing source text from the lexer.
Also simplified the diagnostic message.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97632
Files:
clang-tools-extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/misc-uniqueptr-reset-release.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97632.326976.patch
Type: text/x-patch
Size: 6569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210228/4fb379cf/attachment-0001.bin>
More information about the cfe-commits
mailing list