This is an archive of the discontinued LLVM Phabricator instance.

Handle uninstantiated templates in redundant get check
ClosedPublic

Authored by steveire on Feb 7 2021, 10:52 AM.

Diff Detail

Event Timeline

steveire created this revision.Feb 7 2021, 10:52 AM
steveire requested review of this revision.Feb 7 2021, 10:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2021, 10:52 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
njames93 added inline comments.Feb 15 2021, 2:33 PM
clang-tools-extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp
21–45

The patch says its simplifying the check, but this doesn't look like its simplifying it. Seems to be extending it to support dependent members.

158

nit: Spell out the type.

161

nit: Elide braces.

steveire retitled this revision from [clang-tidy] Simplify redundant smartptr get check to Handle uninstantiated templates in redundant get check.Feb 21 2021, 4:17 AM
steveire added inline comments.
clang-tools-extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp
21–45

Changed the description.

njames93 accepted this revision.Feb 21 2021, 5:44 AM
This revision is now accepted and ready to land.Feb 21 2021, 5:44 AM