diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-03-17 13:06:05 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-03-17 13:06:05 +0000 |
commit | 8fe4525680ce72e90cee3e58b5654e3ae955447f (patch) | |
tree | 1294ff077b2cfe41bcec5d3e79b7b8b8f00b8e60 /lib/StaticAnalyzer/Core | |
parent | 8e42f2782338666ec67eab2e709e18b92060eeba (diff) |
StaticAnalyzer: Fix abuse of StringRef in r152962.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core')
-rw-r--r-- | lib/StaticAnalyzer/Core/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 363a6dffee..67dfcf51d2 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -395,7 +395,7 @@ static void updateStackPiecesWithMessage(PathDiagnosticPiece *P, E = CallStack.end(); I != E; ++I) { PathDiagnosticCallPiece *CP = I->first; const ExplodedNode *N = I->second; - StringRef stackMsg = ep->getCallStackMessage(N); + std::string stackMsg = ep->getCallStackMessage(N); // The last message on the path to final bug is the most important // one. Since we traverse the path backwards, do not add the message |