]> granicus.if.org Git - clang/commit
Change the checker callback cache in GRExprEngine to be more compact (and IMHO a...
authorJordy Rose <jediknil@belkadan.com>
Wed, 4 Aug 2010 07:10:57 +0000 (07:10 +0000)
committerJordy Rose <jediknil@belkadan.com>
Wed, 4 Aug 2010 07:10:57 +0000 (07:10 +0000)
commit72905cfa81cfd126f322c4173f56d332aac5539e
tree48feba9b40a8b9db70444a94f7e0f256745b4d84
parent5fcefd965990899b9093656a5242be5a273d7135
Change the checker callback cache in GRExprEngine to be more compact (and IMHO a little easier to understand), and add the same sort of caching for EvalAssume (tied for least-used callback), mostly as proof-of-concept.

Before we go further with these, we should figure out a way to reuse the visit-and-cache code in CheckerVisit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110191 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Checker/PathSensitive/Checker.h
include/clang/Checker/PathSensitive/GRExprEngine.h
lib/Checker/GRExprEngine.cpp
lib/Checker/MallocChecker.cpp