diff options
author | Angel Garcia Gomez <angelgarcia@google.com> | 2015-10-30 09:37:57 +0000 |
---|---|---|
committer | Angel Garcia Gomez <angelgarcia@google.com> | 2015-10-30 09:37:57 +0000 |
commit | 68175a02fbc35f5249218b2b3ac81fae9a9ec085 (patch) | |
tree | 97429f9fe103e3959be99e0f046c87721d2d2f6f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4647ed74acc039233d23981cea56666f5f8c619f (diff) | |
download | llvm-68175a02fbc35f5249218b2b3ac81fae9a9ec085.zip llvm-68175a02fbc35f5249218b2b3ac81fae9a9ec085.tar.gz llvm-68175a02fbc35f5249218b2b3ac81fae9a9ec085.tar.bz2 |
Only copy small types in modernize-loop-convert.
Summary: If the size of the type is above a certain bound, we'll take a const reference. This bound can be set as an option. For now, the default value is 16 bytes.
Reviewers: klimek
Subscribers: alexfh, cfe-commits
Differential Revision: http://reviews.llvm.org/D14176
llvm-svn: 251694
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions