diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-29 18:03:28 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-29 18:03:28 +0000 |
commit | 4988a9a278c50fddf46d38331e4a136a91487b7d (patch) | |
tree | fbea33d7604063d3aea3fe64396c3507532b64bd /lib/Analysis/NSErrorChecker.cpp | |
parent | ab6b940f6449566d9f5b188d53f90f8694ebadf4 (diff) |
Kill some unnecessary calls to c_str().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/NSErrorChecker.cpp')
-rw-r--r-- | lib/Analysis/NSErrorChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/NSErrorChecker.cpp b/lib/Analysis/NSErrorChecker.cpp index f6dd2d2471..c5c405e517 100644 --- a/lib/Analysis/NSErrorChecker.cpp +++ b/lib/Analysis/NSErrorChecker.cpp @@ -231,7 +231,7 @@ void NSErrorChecker::CheckParamDeref(const VarDecl *Param, os << Param->getNameAsString() << "' may be null."; - BugReport *report = new BugReport(*this, os.str().c_str(), *I); + BugReport *report = new BugReport(*this, os.str(), *I); // FIXME: Notable symbols are now part of the report. We should // add support for notable symbols in BugReport. // BR.addNotableSymbol(SV->getSymbol()); |