diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-01-13 04:36:36 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-01-13 04:36:36 +0000 |
commit | 4bac726dadb09ee38bab8147f1e706380368b362 (patch) | |
tree | de348d259060e3be2252986febd5f0810b7e77bd /include/clang/Analysis/ProgramPoint.h | |
parent | 8d3d6c93551cc62c6d550f090991bfba1d32d0a4 (diff) |
Remove CheckerContext's dependence on setting
the node builder's "tag" ivar (which we would
like to remove).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/ProgramPoint.h')
-rw-r--r-- | include/clang/Analysis/ProgramPoint.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/clang/Analysis/ProgramPoint.h b/include/clang/Analysis/ProgramPoint.h index 9656803b63..36949c1c6c 100644 --- a/include/clang/Analysis/ProgramPoint.h +++ b/include/clang/Analysis/ProgramPoint.h @@ -181,14 +181,15 @@ public: class PostStmt : public StmtPoint { protected: - PostStmt(const Stmt* S, Kind k, const LocationContext *L, const void *tag = 0) - : StmtPoint(S, NULL, k, L, tag) {} - PostStmt(const Stmt* S, const void* data, Kind k, const LocationContext *L, const void *tag =0) : StmtPoint(S, data, k, L, tag) {} public: + explicit PostStmt(const Stmt* S, Kind k, + const LocationContext *L, const void *tag = 0) + : StmtPoint(S, NULL, k, L, tag) {} + explicit PostStmt(const Stmt* S, const LocationContext *L,const void *tag = 0) : StmtPoint(S, NULL, PostStmtKind, L, tag) {} |