diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-15 07:43:59 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-15 07:43:59 +0000 |
commit | 959990b840c0ec06ed5314ad1b3e089cd31b498b (patch) | |
tree | 33fed53c7e9ac76027cccf78d0d960211278b01a /clang/lib/Analysis/BugReporter.cpp | |
parent | 1a234c0aeeb32aa71a787b496ef2e2d37fd563dd (diff) | |
download | bcm5719-llvm-959990b840c0ec06ed5314ad1b3e089cd31b498b.tar.gz bcm5719-llvm-959990b840c0ec06ed5314ad1b3e089cd31b498b.zip |
Convert a few more uses of std::string& to llvm::StringRef.
llvm-svn: 93506
Diffstat (limited to 'clang/lib/Analysis/BugReporter.cpp')
-rw-r--r-- | clang/lib/Analysis/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp index e6482698dd4..13b7f4510d4 100644 --- a/clang/lib/Analysis/BugReporter.cpp +++ b/clang/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!"); |