diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-02-05 05:15:51 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-02-05 05:15:51 +0000 |
commit | 768ad16a4ab79fbc52f6f3bdc9362fd4e1d51d53 (patch) | |
tree | 8503f243866b95f5922b4156cc4c50622ed7a47c /include/clang/Analysis/PathSensitive/ExplodedGraph.h | |
parent | 4c4635c6cd8114bfa3ee20628fa1f03e67ac1e55 (diff) |
ValueManager now uses the BumpPtrAllocator owned by the ExplodedGraph.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/ExplodedGraph.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/ExplodedGraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/ExplodedGraph.h b/include/clang/Analysis/PathSensitive/ExplodedGraph.h index e69acda3e3..dcc833c0df 100644 --- a/include/clang/Analysis/PathSensitive/ExplodedGraph.h +++ b/include/clang/Analysis/PathSensitive/ExplodedGraph.h @@ -254,6 +254,7 @@ public: unsigned num_roots() const { return Roots.size(); } unsigned num_eops() const { return EndNodes.size(); } + llvm::BumpPtrAllocator& getAllocator() { return Allocator; } CFG& getCFG() { return cfg; } ASTContext& getContext() { return Ctx; } FunctionDecl& getFunctionDecl() { return FD; } |