summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-03 16:48:47 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-03 16:48:47 +0000
commit59a451775954483bc4db825d8f9eb660b7c96a06 (patch)
tree9c981e623dfbeb106f0e574cb4d573b30bca4fc5 /lib/Bitcode/Reader/BitcodeReader.h
parent653638bea4c05fa3d68378d38a5feba60096287e (diff)
downloadllvm-59a451775954483bc4db825d8f9eb660b7c96a06.tar.gz
llvm-59a451775954483bc4db825d8f9eb660b7c96a06.tar.bz2
llvm-59a451775954483bc4db825d8f9eb660b7c96a06.tar.xz
C++11: Beware unnecessary copies with auto
It's easy to copy unintentionally when using 'auto', particularly inside range-based for loops. Best practise is to use 'const&' unless there's a good reason not to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions