diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-08-20 01:23:34 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-08-20 01:23:34 +0000 |
commit | fafd3834754d2093e0ad7a1c005860fd527ecb7f (patch) | |
tree | 8cff9aac836cd2d56168221113d917801470a2af /lib/Analysis/BugReporter.cpp | |
parent | 995d2818a11395b15995694a30f842a0e4fdee4f (diff) |
Rename: ProgramPoint::getContext() => ProgramPoint::getLocationContext().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r-- | lib/Analysis/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp index 62313c67b6..1a77ecb55f 100644 --- a/lib/Analysis/BugReporter.cpp +++ b/lib/Analysis/BugReporter.cpp @@ -1213,7 +1213,7 @@ const Stmt* BugReport::getStmt() const { const Stmt *S = NULL; if (BlockEntrance* BE = dyn_cast<BlockEntrance>(&ProgP)) { - CFGBlock &Exit = ProgP.getContext()->getCFG()->getExit(); + CFGBlock &Exit = ProgP.getLocationContext()->getCFG()->getExit(); if (BE->getBlock() == &Exit) S = GetPreviousStmt(EndNode); } |