summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-28 05:29:59 +0000
committerChris Lattner <sabre@nondot.org>2007-12-28 05:29:59 +0000
commit08464947508869d08726fa77b9b0f7dd1f6ca5d7 (patch)
tree0823ba0bbc0f84c5bec13390f3959a1dae2fc60c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent6420345a3418475879b75d0e20f46af24f1e57b2 (diff)
downloadbcm5719-llvm-08464947508869d08726fa77b9b0f7dd1f6ca5d7.tar.gz
bcm5719-llvm-08464947508869d08726fa77b9b0f7dd1f6ca5d7.zip
Change Sema::ActOnCallExpr to construct the CallExpr early and put it into
and OwningPtr instead of constructing only after all of sema is done. This has a couple of effects: 1. it fixes memory leaks from all the error cases in sema 2. it simplifies the code significantly. The cost of this is that the error case now new's and delete's an expr where it did not before, but we don't care about the perf of the error case. llvm-svn: 45380
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud