[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:40:26 PDT 2015


angelgarcia updated this revision to Diff 38119.
angelgarcia added a comment.

Add a guard to check that ElemType is not null.


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.38119.patch
Type: text/x-patch
Size: 38834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151022/920b003f/attachment-0001.bin>


More information about the cfe-commits mailing list