]> granicus.if.org Git - clang/commit
Analyzer Core: In checkDeadSymbols checker callback, provide the state in which the...
authorAnna Zaks <ganna@apple.com>
Wed, 10 Aug 2011 23:14:54 +0000 (23:14 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 10 Aug 2011 23:14:54 +0000 (23:14 +0000)
commit6bd528b9d703fdea51053719d9c53504a61a6bd7
treeb57118bbf7652d3f0cac93d8f6da3bb04a75af5d
parent70979d4de873382d0ba13b5bd8fb3ee797384582
Analyzer Core: In checkDeadSymbols checker callback, provide the state in which the symbols are not yet deleted so that checkers could inspect them. Since we are now always creating a transition in ProcessStmt(), remove the logic for adding a transition when none was generated. TODO: the extra transitions will have to be removed; more cleanups; a checker that tests teh new fucntionality.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137273 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/GRState.h
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Core/GRState.cpp