diff options
Diffstat (limited to 'include/clang/Analysis/PathSensitive/ExplodedGraph.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/ExplodedGraph.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/ExplodedGraph.h b/include/clang/Analysis/PathSensitive/ExplodedGraph.h index d3da3c105f..9b6507420b 100644 --- a/include/clang/Analysis/PathSensitive/ExplodedGraph.h +++ b/include/clang/Analysis/PathSensitive/ExplodedGraph.h @@ -39,7 +39,6 @@ class ASTContext; //===----------------------------------------------------------------------===// class ExplodedNode : public llvm::FoldingSetNode { -protected: friend class ExplodedGraph; friend class GRCoreEngine; friend class GRStmtNodeBuilder; @@ -111,6 +110,10 @@ public: /// getLocation - Returns the edge associated with the given node. ProgramPoint getLocation() const { return Location; } + const LocationContext *getLocationContext() const { + return getLocation().getContext(); + } + const GRState* getState() const { return State; } |