[Lldb-commits] [PATCH] D134771: [NFCI] Simplify TypeCategoryImpl for-each callbacks.

Jorge Gorbe Moya via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 28 11:05:39 PDT 2022


jgorbe updated this revision to Diff 463624.
jgorbe added a comment.

Fixed callback argument type (from `const std::shared_ptr<FormatterImpl>` to `const std::shared_ptr<FormatterImpl> &`) as suggested by reviewer.

Also use a range-based for loop to loop over subcontainers in `TieredFormattercontainer::ForEach`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134771/new/

https://reviews.llvm.org/D134771

Files:
  lldb/include/lldb/DataFormatters/TypeCategory.h
  lldb/source/Commands/CommandObjectType.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134771.463624.patch
Type: text/x-patch
Size: 8909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220928/60ab0bcd/attachment-0001.bin>


More information about the lldb-commits mailing list