diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-27 18:11:59 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-27 18:11:59 +0000 |
commit | 0f9063c116b7c3b05d8042b5976463c2dae04861 (patch) | |
tree | 8b49b736a553979edffd2dd63946b2c5431bad68 /include/clang/Analysis/PathSensitive/ExplodedGraph.h | |
parent | 487f827a7f8e9b2c89aec0d35b6154cb17116444 (diff) |
ProgramPoint is just a smart pointer; no reason to return a constant reference.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/ExplodedGraph.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/ExplodedGraph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/ExplodedGraph.h b/include/clang/Analysis/PathSensitive/ExplodedGraph.h index 79a4c85f07..656981f620 100644 --- a/include/clang/Analysis/PathSensitive/ExplodedGraph.h +++ b/include/clang/Analysis/PathSensitive/ExplodedGraph.h @@ -118,7 +118,7 @@ protected: public: /// getLocation - Returns the edge associated with the given node. - const ProgramPoint& getLocation() const { return Location; } + ProgramPoint getLocation() const { return Location; } unsigned succ_size() const { return Succs.size(); } unsigned pred_size() const { return Preds.size(); } |