[analyzer] Remove possible pessimizations from r169563.
authorJordan Rose <jordan_rose@apple.com>
Fri, 7 Dec 2012 01:54:38 +0000 (01:54 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 7 Dec 2012 01:54:38 +0000 (01:54 +0000)
commitd40d321bcd4a497f8405014498636400e39b4d66
tree32f68fa2e5fbe51f20f07bf9b5dc4179241497c3
parente74933ad7df83fa9dd3267666e6a4beb094f7adc
[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.

llvm-svn: 169570
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h