summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-08-01 22:16:36 +0000
committerJordan Rose <jordan_rose@apple.com>2013-08-01 22:16:36 +0000
commitd8188f8ad5d584b5f6e1f58e5a4882586cc630d4 (patch)
tree512038ae2c847ac296482008e8b4f7521977e653 /lib/CodeGen/CGExprScalar.cpp
parentcd007b18ba218925923a82ad4462fecf903f4a93 (diff)
downloadclang-d8188f8ad5d584b5f6e1f58e5a4882586cc630d4.tar.gz
clang-d8188f8ad5d584b5f6e1f58e5a4882586cc630d4.tar.bz2
clang-d8188f8ad5d584b5f6e1f58e5a4882586cc630d4.tar.xz
[analyzer] Don't process autorelease counts in synthesized function bodies.
We process autorelease counts when we exit functions, but if there's an issue in a synthesized body the report will get dropped. Just skip the processing for now and let it get handled when the caller gets around to processing autoreleases. (This is still suboptimal: objects autoreleased in the caller context should never be warned about when exiting a callee context, synthesized or not.) Second half of <rdar://problem/14611722> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions