This is an archive of the discontinued LLVM Phabricator instance.

Prevent modernize-use-auto from emitting a warning when 'auto' was already being used.
ClosedPublic

Authored by angelgarcia on Oct 7 2015, 2:47 AM.

Diff Detail

Event Timeline

angelgarcia updated this revision to Diff 36722.Oct 7 2015, 2:47 AM
angelgarcia retitled this revision from to Prevent modernize-use-auto from emitting a warning when 'auto' was already being used..
angelgarcia updated this object.
angelgarcia added reviewers: klimek, bkramer.
angelgarcia added subscribers: alexfh, cfe-commits.
alexfh added inline comments.Oct 7 2015, 2:51 AM
test/clang-tidy/modernize-use-auto-new.cpp
100

Please add tests for auto * and const auto *.

angelgarcia updated this revision to Diff 36724.Oct 7 2015, 3:10 AM

Good point. Solved.

klimek accepted this revision.Oct 14 2015, 2:25 AM
klimek edited edge metadata.

lg

This revision is now accepted and ready to land.Oct 14 2015, 2:25 AM
angelgarcia closed this revision.Oct 14 2015, 2:31 AM