]> granicus.if.org Git - clang/commit
[analyzer] Convert ExprEngine::visit() to use short lived builders.
authorAnna Zaks <ganna@apple.com>
Mon, 24 Oct 2011 18:26:19 +0000 (18:26 +0000)
committerAnna Zaks <ganna@apple.com>
Mon, 24 Oct 2011 18:26:19 +0000 (18:26 +0000)
commitebae6d0209e1ec3d5ea14f9e63bd0d740218ed14
tree7271eba1485f3319db7907cc5ec2bcc2d6524509
parentd231d0130a95336610ab9a42eaeb2cdac19992f3
[analyzer] Convert ExprEngine::visit() to use short lived builders.

This commit removes the major functional dependency on the ExprEngine::Builder
member variable.

In some cases the code became more verbose. Particularly, we call takeNodes()
and addNodes() to move responsibility for the nodes from one builder to another.
This will get simplified later on.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142831 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/StaticAnalyzer/Core/CheckerManager.h
include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
lib/StaticAnalyzer/Core/CheckerManager.cpp
lib/StaticAnalyzer/Core/CoreEngine.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Core/ExprEngineC.cpp
lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
lib/StaticAnalyzer/Core/ExprEngineObjC.cpp