[PATCH] D12675: Avoid using rvalue references with trivially copyable types.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 7 08:06:58 PDT 2015


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

Add struct with the parameters of the replacement. Also fix a potential source of crashes from a previous patch.


http://reviews.llvm.org/D12675

Files:
  clang-tidy/modernize/LoopConvertCheck.cpp
  clang-tidy/modernize/LoopConvertCheck.h
  clang-tidy/modernize/LoopConvertUtils.cpp
  test/clang-tidy/modernize-loop-convert-basic.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12675.34158.patch
Type: text/x-patch
Size: 11953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150907/252bf162/attachment.bin>


More information about the cfe-commits mailing list