diff options
author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-11-02 20:34:10 +0000 |
---|---|---|
committer | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-11-02 20:34:10 +0000 |
commit | 771ef6d4f15452d76387cd66552a38122be60925 (patch) | |
tree | 78449c43ffd29ef2bd0801c9f8bf80fced0ef3e4 /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | 7463adadbf0ab2742b122a3d4adc8e2041c3ac01 (diff) | |
download | llvm-771ef6d4f15452d76387cd66552a38122be60925.zip llvm-771ef6d4f15452d76387cd66552a38122be60925.tar.gz llvm-771ef6d4f15452d76387cd66552a38122be60925.tar.bz2 |
Fix Clang-tidy readability-redundant-string-cstr warnings
Reviewers: zturner, labath
Subscribers: tberghammer, danalbert, lldb-commits
Differential Revision: https://reviews.llvm.org/D26233
llvm-svn: 285855
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpoint.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index e977698..dcf6fa2 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -2305,8 +2305,7 @@ protected: } } Error error = target->SerializeBreakpointsToFile( - FileSpec(m_options.m_filename.c_str(), true), valid_bp_ids, - m_options.m_append); + FileSpec(m_options.m_filename, true), valid_bp_ids, m_options.m_append); if (!error.Success()) { result.AppendErrorWithFormat("error serializing breakpoints: %s.", error.AsCString()); |