aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/ProgramPoint.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-25 15:47:53 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-25 15:47:53 +0000
commit2b706e56b57c9646dae8c9134d8614fe815a1873 (patch)
tree3b12eaa73f80eee23e032a91578b781fddda55d3 /include/clang/Analysis/ProgramPoint.h
parentbf2ca2f87ff0b33b839b1b51d233a79bb56e5bac (diff)
Revert patches r97122 r97127 r97129 r97131.
They were breaking clang-x86_64-darwin10-selfhost git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/ProgramPoint.h')
-rw-r--r--include/clang/Analysis/ProgramPoint.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/clang/Analysis/ProgramPoint.h b/include/clang/Analysis/ProgramPoint.h
index fb8d4d5ff5..332f9d384f 100644
--- a/include/clang/Analysis/ProgramPoint.h
+++ b/include/clang/Analysis/ProgramPoint.h
@@ -26,7 +26,6 @@
namespace clang {
class LocationContext;
-class FunctionDecl;
class ProgramPoint {
public:
@@ -42,8 +41,6 @@ public:
PostPurgeDeadSymbolsKind,
PostStmtCustomKind,
PostLValueKind,
- CallEnterKind,
- CallExitKind,
MinPostStmtKind = PostStmtKind,
MaxPostStmtKind = PostLValueKind };
@@ -311,36 +308,6 @@ public:
}
};
-class CallEnter : public StmtPoint {
-public:
- // CallEnter uses the caller's location context.
- CallEnter(const Stmt *S, const FunctionDecl *fd, const LocationContext *L)
- : StmtPoint(S, fd, CallEnterKind, L, 0) {}
-
- const Stmt *getCallExpr() const {
- return static_cast<const Stmt *>(getData1());
- }
-
- const FunctionDecl *getCallee() const {
- return static_cast<const FunctionDecl *>(getData2());
- }
-
- static bool classof(const ProgramPoint *Location) {
- return Location->getKind() == CallEnterKind;
- }
-};
-
-class CallExit : public StmtPoint {
-public:
- // CallExit uses the callee's location context.
- CallExit(const Stmt *S, const LocationContext *L)
- : StmtPoint(S, 0, CallExitKind, L, 0) {}
-
- static bool classof(const ProgramPoint *Location) {
- return Location->getKind() == CallExitKind;
- }
-};
-
} // end namespace clang