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/Plugins/SymbolFile/PDB | |
| parent | 7463adadbf0ab2742b122a3d4adc8e2041c3ac01 (diff) | |
| download | bcm5719-llvm-771ef6d4f15452d76387cd66552a38122be60925.tar.gz bcm5719-llvm-771ef6d4f15452d76387cd66552a38122be60925.zip | |
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/Plugins/SymbolFile/PDB')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp index cb5ee589316..cd99493c239 100644 --- a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp +++ b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp @@ -470,7 +470,7 @@ void SymbolFilePDB::FindTypesByName(const std::string &name, lldb_private::TypeMap &types) { auto global = m_session_up->getGlobalScope(); std::unique_ptr<IPDBEnumSymbols> results; - results = global->findChildren(PDB_SymType::None, name.c_str(), + results = global->findChildren(PDB_SymType::None, name, PDB_NameSearchFlags::NS_Default); uint32_t matches = 0; |

