]> granicus.if.org Git - clang/commit
Merging r292874:
authorHans Wennborg <hans@hanshq.net>
Tue, 24 Jan 2017 16:53:43 +0000 (16:53 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 24 Jan 2017 16:53:43 +0000 (16:53 +0000)
commitb32860f4c96be739d8cdc9705470ce5b7a33648f
treeeab0fedefb10ef1689d9adebabcfc430ce67eb28
parentadbedcc4b98fb63e3a89baff23002c866fb6317a
Merging r292874:
------------------------------------------------------------------------
r292874 | dcoughlin | 2017-01-23 18:10:59 -0800 (Mon, 23 Jan 2017) | 6 lines

Revert "[analyzer] Fix memory space of static locals seen from nested blocks."

This reverts commit r292800.

It is causing null pointer dereference false positives when a block that
captures a static local is evaluated at the top level.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292947 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/MemRegion.cpp
test/Analysis/dispatch-once.m