summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BugReporterVisitors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Analysis/BugReporterVisitors.cpp')
-rw-r--r--clang/lib/Analysis/BugReporterVisitors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/BugReporterVisitors.cpp b/clang/lib/Analysis/BugReporterVisitors.cpp
index 7096f66b220..2efa4c68574 100644
--- a/clang/lib/Analysis/BugReporterVisitors.cpp
+++ b/clang/lib/Analysis/BugReporterVisitors.cpp
@@ -200,7 +200,7 @@ public:
}
// FIXME: Refactor this into BugReporterContext.
- Stmt *S = 0;
+ const Stmt *S = 0;
ProgramPoint P = N->getLocation();
if (BlockEdge *BE = dyn_cast<BlockEdge>(&P)) {
@@ -266,7 +266,7 @@ public:
return NULL;
// FIXME: Refactor this into BugReporterContext.
- Stmt *S = 0;
+ const Stmt *S = 0;
ProgramPoint P = N->getLocation();
if (BlockEdge *BE = dyn_cast<BlockEdge>(&P)) {
OpenPOWER on IntegriCloud