summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-10 17:25:03 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-10 17:25:03 +0000
commit976d1e0ea8ac4b96c2ef6ccea663bef545987555 (patch)
treef9a01ca27e1dc28821b7d9fa9efb5ed0014fb017
parentad4a7e4a6958ed409b5823c38a52bc424c069f5c (diff)
downloadbcm5719-llvm-976d1e0ea8ac4b96c2ef6ccea663bef545987555.tar.gz
bcm5719-llvm-976d1e0ea8ac4b96c2ef6ccea663bef545987555.zip
Remove unused class AnnotatedPath.
llvm-svn: 53413
-rw-r--r--clang/include/clang/Analysis/PathSensitive/AnnotatedPath.h67
-rw-r--r--clang/lib/Analysis/BasicObjCFoundationChecks.h1
2 files changed, 0 insertions, 68 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/AnnotatedPath.h b/clang/include/clang/Analysis/PathSensitive/AnnotatedPath.h
deleted file mode 100644
index 3873bd45d29..00000000000
--- a/clang/include/clang/Analysis/PathSensitive/AnnotatedPath.h
+++ /dev/null
@@ -1,67 +0,0 @@
-//=-- AnnotatedPath.h - An annotated list of ExplodedNodes -*- C++ -*-------==//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines AnnotatedPath, which represents a collection of
-// annotated ExplodedNodes.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_ANALYSIS_ANNOTPATH
-#define LLVM_CLANG_ANALYSIS_ANNOTPATH
-
-#include "clang/Analysis/PathSensitive/ExplodedGraph.h"
-#include <string>
-#include <list>
-
-namespace clang {
-
- class Expr;
-
-template <typename STATE>
-class AnnotatedNode {
- ExplodedNode<STATE> *Node;
- std::string annotation;
- Expr* E;
-
-public:
- AnnotatedNode(ExplodedNode<STATE>* N, const std::string& annot,
- Expr* e = NULL)
- : Node(N), annotation(annot), E(e) {}
-
- ExplodedNode<STATE>* getNode() const { return Node; }
-
- const std::string& getString() const { return annotation; }
-
- Expr* getExpr() const { return E; }
-};
-
-
-template <typename STATE>
-class AnnotatedPath {
- typedef std::list<AnnotatedNode<STATE> > impl;
- impl path;
-public:
- AnnotatedPath() {}
-
- void push_back(ExplodedNode<STATE>* N, const std::string& s, Expr* E = NULL) {
- path.push_back(AnnotatedNode<STATE>(N, s, E));
- }
-
- typedef typename impl::iterator iterator;
-
- iterator begin() { return path.begin(); }
- iterator end() { return path.end(); }
-
- AnnotatedNode<STATE>& back() { return path.back(); }
- const AnnotatedNode<STATE>& back() const { return path.back(); }
-};
-
-} // end clang namespace
-
-#endif
diff --git a/clang/lib/Analysis/BasicObjCFoundationChecks.h b/clang/lib/Analysis/BasicObjCFoundationChecks.h
index fafb025b549..a0c0409f28e 100644
--- a/clang/lib/Analysis/BasicObjCFoundationChecks.h
+++ b/clang/lib/Analysis/BasicObjCFoundationChecks.h
@@ -16,7 +16,6 @@
#include "clang/Analysis/PathSensitive/ExplodedGraph.h"
#include "clang/Analysis/PathSensitive/GRSimpleAPICheck.h"
#include "clang/Analysis/PathSensitive/ValueState.h"
-#include "clang/Analysis/PathSensitive/AnnotatedPath.h"
#include "clang/Analysis/PathDiagnostic.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ASTContext.h"
OpenPOWER on IntegriCloud