commit | 0a6e09f67c719c318856be19d57e19972101f62c | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Thu Dec 06 23:55:34 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Thu Dec 06 23:55:34 2012 +0000 |
tree | 58c515b1d595d43d6daea4d378f2dc0c2fc23a6f | |
parent | c57d158c2900185d7828a92ca8db7b877ef1a621 [diff] |
[analyzer] Avoid ProgramStateRef copy constructors. Suggested by David Blaikie. ExplodedNode, CallEvent, and CheckerContext all hang onto their ProgramState, so the accessors can return a reference to the internal state rather than preemptively copying it. This helps avoid temporary ProgramStateRefs, though local variables will still (correctly) do an extra retain and release. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169563 91177308-0d34-0410-b5e6-96231b3b80d8