[PATCH] D13982: Don't use "auto" on loops over fundamental types in modernize-loop-convert.
Angel Garcia via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 22 05:32:32 PDT 2015
angelgarcia created this revision.
angelgarcia added a reviewer: klimek.
angelgarcia added subscribers: cfe-commits, alexfh.
using "auto" on a loop that iterates over ints is kind of an overkill. Use the real type name instead.
http://reviews.llvm.org/D13982
Files:
clang-tidy/modernize/LoopConvertCheck.cpp
clang-tidy/modernize/LoopConvertCheck.h
test/clang-tidy/modernize-loop-convert-basic.cpp
test/clang-tidy/modernize-loop-convert-camelback.cpp
test/clang-tidy/modernize-loop-convert-extra.cpp
test/clang-tidy/modernize-loop-convert-lowercase.cpp
test/clang-tidy/modernize-loop-convert-uppercase.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13982.38116.patch
Type: text/x-patch
Size: 38801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151022/c53d95b1/attachment-0001.bin>
More information about the cfe-commits
mailing list