diff options
Diffstat (limited to 'lib/Analysis/GRExprEngineInternalChecks.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngineInternalChecks.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/GRExprEngineInternalChecks.cpp b/lib/Analysis/GRExprEngineInternalChecks.cpp index d32318ca7d..e7a644ce19 100644 --- a/lib/Analysis/GRExprEngineInternalChecks.cpp +++ b/lib/Analysis/GRExprEngineInternalChecks.cpp @@ -212,7 +212,8 @@ public: 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 @@ public: 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 { |