aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-01-15 07:43:59 +0000
committerTed Kremenek <kremenek@apple.com>2010-01-15 07:43:59 +0000
commit8b9317186fd5243938128a0b0e0494498d78ab8c (patch)
treeef9e7309fd988287d88a4f22a9ec7b2692d631e4 /lib/Analysis/BugReporter.cpp
parent9a24dc1409ec1d073a7b346d3b02a0129192fb58 (diff)
Convert a few more uses of std::string& to llvm::StringRef.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r--lib/Analysis/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp
index e6482698dd..13b7f4510d 100644
--- a/lib/Analysis/BugReporter.cpp
+++ b/lib/Analysis/BugReporter.cpp
@@ -1819,7 +1819,7 @@ void BugReporter::FlushReport(BugReportEquivClass& EQ) {
Diagnostic& Diag = getDiagnostic();
FullSourceLoc L(R->getLocation(), getSourceManager());
unsigned ErrorDiag = Diag.getCustomDiagID(Diagnostic::Warning,
- R->getShortDescription().c_str());
+ R->getShortDescription());
switch (End-Beg) {
default: assert(0 && "Don't handle this many ranges yet!");