summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Statistic.cpp
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
commit994863768773ccdb76606b5fc4dabb6745f5da23 (patch)
tree8266a71177053c8198869a5316c079498cea679b /llvm/lib/Support/Statistic.cpp
parent9724e833ce35b0ebf6db8096e5a7cdd65a35660e (diff)
downloadbcm5719-llvm-994863768773ccdb76606b5fc4dabb6745f5da23.tar.gz
bcm5719-llvm-994863768773ccdb76606b5fc4dabb6745f5da23.zip
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. llvm-svn: 202729
Diffstat (limited to 'llvm/lib/Support/Statistic.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud