[Lldb-commits] [lldb] [lldb][DWARF] Search for symbols in all external modules (PR #75927)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 19 10:48:57 PST 2023
================
@@ -175,7 +175,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromClangModule(const SymbolContext &sc,
*sc.comp_unit, results.GetSearchedSymbolFiles(), [&](Module &module) {
module.FindTypes(query, results);
pcm_type_sp = results.GetTypeMap().FirstType();
- return !pcm_type_sp;
+ return pcm_type_sp != nullptr;
----------------
clayborg wrote:
might be nicer to do:
```
return (bool)pcm_type_sp;
```
https://github.com/llvm/llvm-project/pull/75927
More information about the lldb-commits
mailing list