[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
       
    Wed Dec 14 07:13:11 PST 2016
    
    
  
malcolm.parsons updated this revision to Diff 81377.
malcolm.parsons added a comment.
Use qualType(hasDescendant(autoType())) to fix skipping of declarations that
are already using auto.
https://reviews.llvm.org/D27166
Files:
  clang-tidy/modernize/UseAutoCheck.cpp
  docs/ReleaseNotes.rst
  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.81377.patch
Type: text/x-patch
Size: 13752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161214/4e249168/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list