Rename member variable.
llvm-svn: 50597
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp
index 0ec1a35..c907c24 100644
--- a/clang/lib/Analysis/BugReporter.cpp
+++ b/clang/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();