================
@@ -2779,7 +2788,19 @@ void SymbolFileDWARF::FindTypes(const TypeQuery &query, 
TypeResults &results) {
     return !results.Done(query); // Keep iterating if we aren't done.
   });
 
-  if (results.Done(query))
+  auto CheckIsDoneAndLog = [&results, &query, log, type_basename, this] {
----------------
Michael137 wrote:

Thanks for adding this back. Usually I'm in favour of DRY but personally I find 
it more readable if you just inline the logging, instead of the lambda. Mind 
changing that?

https://github.com/llvm/llvm-project/pull/106030
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to