commit | d563d3fb73879df7147b8a5302c3bf0e1402ba18 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Mon Jul 30 20:22:09 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Mon Jul 30 20:22:09 2012 +0000 |
tree | 4fa18655c4f5cf2bb0cf16f16f97d16dad8fbcc3 | |
parent | a989aebecde3d2fd374b894e894a950b0bd9cf67 [diff] |
[analyzer] Only allow CallEvents to be created by CallEventManager. This ensures that it is valid to reference-count any CallEvents, and we won't accidentally try to reclaim a CallEvent that lives on the stack. It also hides an ugly switch statement for handling CallExprs! There should be no functionality change here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160986 91177308-0d34-0410-b5e6-96231b3b80d8