summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Analysis/PathSensitive/ExplodedGraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/ExplodedGraph.h b/clang/include/clang/Analysis/PathSensitive/ExplodedGraph.h
index 79a4c85f078..656981f620f 100644
--- a/clang/include/clang/Analysis/PathSensitive/ExplodedGraph.h
+++ b/clang/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(); }
OpenPOWER on IntegriCloud