diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
| commit | 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch) | |
| tree | c94307da318be46e5aeea1a325c1e91749506e4f /source/Symbol/SymbolFile.cpp | |
| parent | 03b99097822ca3ac69252d9afae716a584ed56c4 (diff) | |
Diffstat (limited to 'source/Symbol/SymbolFile.cpp')
| -rw-r--r-- | source/Symbol/SymbolFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Symbol/SymbolFile.cpp b/source/Symbol/SymbolFile.cpp index 412c4600c9f7..a5b138bb52af 100644 --- a/source/Symbol/SymbolFile.cpp +++ b/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 & |
