[PATCH] D45927: [clang-tidy] [modernize-use-auto] Correct way to calculate a type name length for multi-token types

Zinovy Nis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 14 13:45:55 PDT 2018


zinovy.nis updated this revision to Diff 146677.
zinovy.nis added a comment.

- Fix for templated type names. Thanks AlexanderK for pointing.


https://reviews.llvm.org/D45927

Files:
  clang-tidy/modernize/UseAutoCheck.cpp
  docs/clang-tidy/checks/modernize-use-auto.rst
  test/clang-tidy/modernize-use-auto-min-type-name-length.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45927.146677.patch
Type: text/x-patch
Size: 9566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180514/73dc031b/attachment.bin>


More information about the cfe-commits mailing list