diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Symbol/SymbolFile.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Symbol/SymbolFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm/tools/lldb/source/Symbol/SymbolFile.cpp b/contrib/llvm/tools/lldb/source/Symbol/SymbolFile.cpp index 412c460..a5b138b 100644 --- a/contrib/llvm/tools/lldb/source/Symbol/SymbolFile.cpp +++ b/contrib/llvm/tools/lldb/source/Symbol/SymbolFile.cpp @@ -22,7 +22,7 @@ SymbolFile* SymbolFile::FindPlugin (ObjectFile* obj_file) { std::unique_ptr<SymbolFile> best_symfile_ap; - if (obj_file != NULL) + if (obj_file != nullptr) { // We need to test the abilities of this section list. So create what it would @@ -46,7 +46,7 @@ SymbolFile::FindPlugin (ObjectFile* obj_file) uint32_t best_symfile_abilities = 0; SymbolFileCreateInstance create_callback; - for (uint32_t idx = 0; (create_callback = PluginManager::GetSymbolFileCreateCallbackAtIndex(idx)) != NULL; ++idx) + for (uint32_t idx = 0; (create_callback = PluginManager::GetSymbolFileCreateCallbackAtIndex(idx)) != nullptr; ++idx) { std::unique_ptr<SymbolFile> curr_symfile_ap(create_callback(obj_file)); @@ -79,7 +79,7 @@ SymbolFile::GetTypeList () { if (m_obj_file) return m_obj_file->GetModule()->GetTypeList(); - return NULL; + return nullptr; } lldb_private::ClangASTContext & |