summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2018-08-09 21:05:56 +0000
committerStephen Kelly <steveire@gmail.com>2018-08-09 21:05:56 +0000
commita6e4358f071e18aa969c0ae820745510b3581aff (patch)
tree9616f195df90705f0a97ae2adc049c92b15253c8 /clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
parentf8a4c7775fbfa9b8610729cde9093956176b7f5d (diff)
downloadbcm5719-llvm-a6e4358f071e18aa969c0ae820745510b3581aff.tar.gz
bcm5719-llvm-a6e4358f071e18aa969c0ae820745510b3581aff.zip
Port getStartLoc -> getBeginLoc
Reviewers: teemperor! Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D50349 llvm-svn: 339384
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
index 4f1766a813c..90dcf2f22e6 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
@@ -551,7 +551,7 @@ void ExprEngine::VisitCXXNewAllocatorCall(const CXXNewExpr *CNE,
ProgramStateRef State = Pred->getState();
const LocationContext *LCtx = Pred->getLocationContext();
PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
- CNE->getStartLoc(),
+ CNE->getBeginLoc(),
"Error evaluating New Allocator Call");
CallEventManager &CEMgr = getStateManager().getCallEventManager();
CallEventRef<CXXAllocatorCall> Call =
OpenPOWER on IntegriCloud