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)
commitbfd28fd59671e9d04c8af78a4f829888b944dc72
tree9530cd8328cda331764ff8b70a590eafa10a226a
parent1164d1f283cd551e84fc70f3bfc57e7b8973c5f1
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.

llvm-svn: 76809
12 files changed:
clang/include/clang/Analysis/PathSensitive/BugReporter.h
clang/include/clang/Analysis/PathSensitive/GRCoreEngine.h
clang/include/clang/Analysis/PathSensitive/GRState.h
clang/include/clang/Analysis/ProgramPoint.h
clang/lib/Analysis/BasicObjCFoundationChecks.cpp
clang/lib/Analysis/BugReporter.cpp
clang/lib/Analysis/BugReporterVisitors.cpp
clang/lib/Analysis/CFRefCount.cpp
clang/lib/Analysis/GRCoreEngine.cpp
clang/lib/Analysis/GRExprEngine.cpp
clang/lib/Analysis/GRExprEngineInternalChecks.cpp
clang/lib/Analysis/GRState.cpp