commit | 5204d9e2fe0ea4e4b9c85087e355021c93221764 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Fri Dec 07 01:54:38 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Fri Dec 07 01:54:38 2012 +0000 |
tree | c34290bd5a60e449e20161279e4899a6bbfa5829 | |
parent | de780d44244c93fbce059262ccebc8bae692f9ca [diff] |
[analyzer] Remove possible pessimizations from r169563. Thanks for reminding me about copy-elision, David. Passing references here doesn't help when we could get move construction in C++11. If we really cared, we'd use std::swap to steal the reference from the temporary arg, but it's probably not /that/ critical outside of Profile anyway. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169570 91177308-0d34-0410-b5e6-96231b3b80d8