summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-04-05 02:01:41 +0000
committerJordan Rose <jordan_rose@apple.com>2014-04-05 02:01:41 +0000
commitbb4f59b433303d861cd9f52ce84dded86e734078 (patch)
tree71de5ff794b29e91d061bfa71a210da16c57a7a4 /lib/CodeGen/CGExpr.cpp
parent1c3262a3c8beb9779c9195273f674e7b43889b12 (diff)
downloadclang-bb4f59b433303d861cd9f52ce84dded86e734078.tar.gz
clang-bb4f59b433303d861cd9f52ce84dded86e734078.tar.bz2
clang-bb4f59b433303d861cd9f52ce84dded86e734078.tar.xz
[analyzer] Look through temporary destructors when finding a region to construct.
Fixes a false positive when temporary destructors are enabled where a temporary is destroyed after a variable is constructed but before the VarDecl itself is processed, which occurs when the variable is in the condition of an if or while. Patch by Alex McCarthy, with an extra test from me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions