[PATCH] D103188: [clang-tidy] modernize-loop-convert: limit use of auto
Edward O via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 26 10:35:58 PDT 2021
eddy-geek created this revision.
Herald added a subscriber: xazax.hun.
eddy-geek requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Fixes bug 35694 <https://bugs.llvm.org/show_bug.cgi?id=35694>
Adds option AutoTypeNameLength, default 0 (keep current behaviour).
Note that the default could be set to 5 in the future
(like for modernize-use-auto.MinTypeNameLength).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103188
Files:
clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.h
clang-tools-extra/docs/clang-tidy/checks/modernize-loop-convert.rst
clang-tools-extra/test/clang-tidy/checkers/modernize-loop-convert-auto.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103188.348015.patch
Type: text/x-patch
Size: 7020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210526/a186b566/attachment.bin>
More information about the cfe-commits
mailing list