[PATCH] D27166: [clang-tidy] Enhance modernize-use-auto to templated function casts
Malcolm Parsons via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 28 08:49:44 PST 2016
malcolm.parsons created this revision.
malcolm.parsons added reviewers: aaron.ballman, Prazek, alexfh.
malcolm.parsons added a subscriber: cfe-commits.
Herald added a subscriber: JDevlieghere.
Use auto when declaring variables that are initialized by calling a templated
function that returns its explicit first argument.
Fixes PR26763.
https://reviews.llvm.org/D27166
Files:
clang-tidy/modernize/UseAutoCheck.cpp
docs/clang-tidy/checks/modernize-use-auto.rst
test/clang-tidy/modernize-use-auto-cast-remove-stars.cpp
test/clang-tidy/modernize-use-auto-cast.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27166.79407.patch
Type: text/x-patch
Size: 8885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161128/b76dc9b4/attachment.bin>
More information about the cfe-commits
mailing list