diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-29 18:27:55 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-29 18:27:55 +0000 |
| commit | 6341553c930ae33b5f3e3524eb524185e32eef9c (patch) | |
| tree | bdc63404414ffe2ce5719c11f0a600bec1d4307f /clang/lib/Analysis/CheckDeadStores.cpp | |
| parent | 0a1f25b9278d738e2aa1907afe6ed9e4996fc825 (diff) | |
| download | bcm5719-llvm-6341553c930ae33b5f3e3524eb524185e32eef9c.tar.gz bcm5719-llvm-6341553c930ae33b5f3e3524eb524185e32eef9c.zip | |
Port BugReporter and BugType to StringRef.
llvm-svn: 90086
Diffstat (limited to 'clang/lib/Analysis/CheckDeadStores.cpp')
| -rw-r--r-- | clang/lib/Analysis/CheckDeadStores.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CheckDeadStores.cpp b/clang/lib/Analysis/CheckDeadStores.cpp index 31958a9b911..ad63eb4122b 100644 --- a/clang/lib/Analysis/CheckDeadStores.cpp +++ b/clang/lib/Analysis/CheckDeadStores.cpp @@ -76,7 +76,7 @@ public: break; } - BR.EmitBasicReport(BugType, "Dead store", msg.c_str(), L, R); + BR.EmitBasicReport(BugType, "Dead store", msg, L, R); } void CheckVarDecl(VarDecl* VD, Expr* Ex, Expr* Val, |

