summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-14 01:43:44 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-14 01:43:44 +0000
commite68c0fcfb239eef2c8468bb8c32e97fe9f58e7be (patch)
tree2c05a2b40fb871be2e72a7812d89ba12bb05d7d9 /clang/lib/CodeGen/CodeGenModule.cpp
parent30c22d86e8f549e9e97313bea55809702da56fb8 (diff)
downloadbcm5719-llvm-e68c0fcfb239eef2c8468bb8c32e97fe9f58e7be.tar.gz
bcm5719-llvm-e68c0fcfb239eef2c8468bb8c32e97fe9f58e7be.zip
Static analyzer:
- Added a new 'node builder' class called GRStmtNodeBuilderRef (name may change). This is essentially a smart reference to a GRStmtNodeBuilder object that keeps track of the current context (predecessor node, GRExprEngine object, etc.) The idea is to gradually simplify the interface between GRExprEngine and GRTransferFuncs using this new builder (i.e., passing 1 argument instead of 5). It also handles some of the "auto-transition" for node creation, simplifying some of the logic in GRExprEngine itself. - Used GRStmtBuilderRef to replace GRTransferFuncs::EvalStore with GRTransferFuncs::EvalBind. The new EvalBind method will be used at any arbitrary places where a binding between a location and value takes place. Moreover, GRTransferFuncs no longer has the responsibility to request StoreManager to do the binding; this is now in GRExprEngine::EvalBind. All GRTransferFuncs::EvalBind does is checker-specific logic (which can be a no-op). llvm-svn: 64525
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud