| commit | 46e38f36785508dc6f90e642c68e4a72a493e8f5 | [log] [tgz] |
|---|---|---|
| author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Jun 08 10:01:20 2016 +0000 |
| committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Jun 08 10:01:20 2016 +0000 |
| tree | 290f0903a81451736d6c920ef4b50bba0e995325 | |
| parent | acadc8e0d64e90cded8f63a154ab3111a1d294f9 [diff] |
Avoid copies of std::strings and APInt/APFloats where we only read from it As suggested by clang-tidy's performance-unnecessary-copy-initialization. This can easily hit lifetime issues, so I audited every change and ran the tests under asan, which came back clean. llvm-svn: 272126