diff options
Diffstat (limited to 'lib/Analysis/FixedAddressChecker.cpp')
-rw-r--r-- | lib/Analysis/FixedAddressChecker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/FixedAddressChecker.cpp b/lib/Analysis/FixedAddressChecker.cpp index e30e3d0ce1..80096dcb70 100644 --- a/lib/Analysis/FixedAddressChecker.cpp +++ b/lib/Analysis/FixedAddressChecker.cpp @@ -59,8 +59,7 @@ void FixedAddressChecker::PreVisitBinaryOperator(CheckerContext &C, "Using a fixed address is not portable because that " "address will probably not be valid in all " "environments or platforms."); - RangedBugReport *R = new RangedBugReport(*BT, BT->getDescription().c_str(), - N); + RangedBugReport *R = new RangedBugReport(*BT, BT->getDescription(), N); R->addRange(B->getRHS()->getSourceRange()); C.EmitReport(R); } |