Rename member variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50597 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp
index 0ec1a35..c907c24 100644
--- a/lib/Analysis/BugReporter.cpp
+++ b/lib/Analysis/BugReporter.cpp
@@ -91,12 +91,12 @@
Stmt* BugReport::getStmt(BugReporter& BR) const {
- ProgramPoint ProgP = N->getLocation();
+ ProgramPoint ProgP = EndNode->getLocation();
Stmt *S = NULL;
if (BlockEntrance* BE = dyn_cast<BlockEntrance>(&ProgP))
if (BE->getBlock() == &BR.getCFG().getExit())
- S = GetLastStmt(N);
+ S = GetLastStmt(EndNode);
if (!S)
S = GetStmt(ProgP);
@@ -138,10 +138,10 @@
FullSourceLoc BugReport::getLocation(SourceManager& Mgr) {
- if (!N)
+ if (!EndNode)
return FullSourceLoc();
- Stmt* S = GetStmt(N->getLocation());
+ Stmt* S = GetStmt(EndNode->getLocation());
if (!S)
return FullSourceLoc();