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
This commit is contained in:
Malcolm Parsons
2016-11-02 20:34:10 +00:00
parent 7463adadbf
commit 771ef6d4f1
76 changed files with 163 additions and 181 deletions

View File

@@ -972,7 +972,7 @@ lldb_private::FileSpecList ObjectFileELF::GetDebugSymbolFilePaths() {
FileSpecList file_spec_list;
if (!m_gnu_debuglink_file.empty()) {
FileSpec file_spec(m_gnu_debuglink_file.c_str(), false);
FileSpec file_spec(m_gnu_debuglink_file, false);
file_spec_list.Append(file_spec);
}
return file_spec_list;