[PATCH] D45405: [clang-tidy] [modernize-use-auto] Add a threshold for minimal type name length to be replaced with 'auto'
Zinovy Nis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 9 12:49:35 PDT 2018
zinovy.nis updated this revision to Diff 141719.
zinovy.nis marked 9 inline comments as done.
zinovy.nis added a comment.
- Default value is **5**.
- Switched to 'tooling::fixit::getText'.
- Updated rst docs.
https://reviews.llvm.org/D45405
Files:
clang-tidy/modernize/UseAutoCheck.cpp
clang-tidy/modernize/UseAutoCheck.h
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
test/clang-tidy/modernize-use-auto-min-type-name-length.cpp
test/clang-tidy/modernize-use-auto-new.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45405.141719.patch
Type: text/x-patch
Size: 6587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180409/22dcefe2/attachment.bin>
More information about the cfe-commits
mailing list