This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Emit note for variable declaration that are later deleted
ClosedPublic

Authored by JonasToth on Sep 29 2017, 10:00 AM.

Details

Summary

This patch introduces a note for variable declaration that are later deleted.
Adds FIXME notes for possible automatic type-rewriting positions as well.

Event Timeline

JonasToth created this revision.Sep 29 2017, 10:00 AM
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a project: Restricted Project.
aaron.ballman added inline comments.Oct 2 2017, 9:17 AM
clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
160

Spurious comma in the comment.

162

Do not use auto here.

JonasToth updated this revision to Diff 117541.Oct 3 2017, 9:41 AM
JonasToth marked 2 inline comments as done.
  • adress aarons nits
  • fixed review comments
This revision is now accepted and ready to land.Oct 4 2017, 6:05 AM
JonasToth updated this revision to Diff 117688.Oct 4 2017, 9:48 AM

merge master

JonasToth closed this revision.Oct 4 2017, 9:51 AM

committed in rL314913