]> granicus.if.org Git - clang/commit
Refactor 'PostStmt' and 'PreStmt' to subclass a common parent 'StmtPoint'.
authorTed Kremenek <kremenek@apple.com>
Wed, 22 Jul 2009 22:35:28 +0000 (22:35 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 22 Jul 2009 22:35:28 +0000 (22:35 +0000)
commit5f85e17df3f5b0a8021443f2b590daecfb2cbd17
tree27f50e167a2cf236ee16a7aadc89b330a62389a1
parentde99a45c1295ec8e2eea20d35906178ff10722b5
Refactor 'PostStmt' and 'PreStmt' to subclass a common parent 'StmtPoint'.

Educate GRExprEngine::VisitGraph() about 'PreStmt'.

Mark the constructor of 'PostStmt' to be explicit, preventing implicit
conversions and the selection of the wrong 'generateNode' method in
GRStmtNodeBuilder.

Constify a bunch of arguments, which falls out of the changes to ProgramPoint.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76809 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/Analysis/PathSensitive/BugReporter.h
include/clang/Analysis/PathSensitive/GRCoreEngine.h
include/clang/Analysis/PathSensitive/GRState.h
include/clang/Analysis/ProgramPoint.h
lib/Analysis/BasicObjCFoundationChecks.cpp
lib/Analysis/BugReporter.cpp
lib/Analysis/BugReporterVisitors.cpp
lib/Analysis/CFRefCount.cpp
lib/Analysis/GRCoreEngine.cpp
lib/Analysis/GRExprEngine.cpp
lib/Analysis/GRExprEngineInternalChecks.cpp
lib/Analysis/GRState.cpp