]> granicus.if.org Git - clang/commit
Handle CXXTempObjectRegion in StackAddrEscapeChecker.
authorJeffrey Yasskin <jyasskin@google.com>
Fri, 26 Aug 2011 00:41:31 +0000 (00:41 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Fri, 26 Aug 2011 00:41:31 +0000 (00:41 +0000)
commit782f63ecd124f9384f988dc7e0cf4ae1540c15f6
tree8aa780ecf69dc68dedfb5ad1b2a171ea2ba9c164
parent1b9060553221720152e12981109549e0a1d8e3a1
Handle CXXTempObjectRegion in StackAddrEscapeChecker.

Also convert stack-addr-ps.cpp to use the analyzer instead of just Sema, now
that it doesn't crash, and extract the stack-block test into another file since
it errors, and that prevents the analyzer from running.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138613 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
lib/StaticAnalyzer/Core/MemRegion.cpp
test/Analysis/stack-addr-ps.cpp
test/Analysis/stack-block-returned.cpp [new file with mode: 0644]