more SourceLocation lexicon change: instead of referring to the
"logical" location, refer to the "instantiation" location.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62316 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/GRExprEngineInternalChecks.cpp b/lib/Analysis/GRExprEngineInternalChecks.cpp
index d32318c..e7a644c 100644
--- a/lib/Analysis/GRExprEngineInternalChecks.cpp
+++ b/lib/Analysis/GRExprEngineInternalChecks.cpp
@@ -212,7 +212,8 @@
const CompoundLiteralExpr* CL = CR->getLiteralExpr();
os << "Address of stack memory associated with a compound literal "
"declared on line "
- << BR.getSourceManager().getLogicalLineNumber(CL->getLocStart())
+ << BR.getSourceManager()
+ .getInstantiationLineNumber(CL->getLocStart())
<< " returned.";
R = CL->getSourceRange();
@@ -223,7 +224,7 @@
R = ARE->getSourceRange();
os << "Address of stack memory allocated by call to alloca() on line "
- << BR.getSourceManager().getLogicalLineNumber(L)
+ << BR.getSourceManager().getInstantiationLineNumber(L)
<< " returned.";
}
else {