[Lldb-commits] [PATCH] D66345: [lldb][NFC] Allow for-range iterating over StringList

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 16 06:37:15 PDT 2019


teemperor created this revision.
teemperor added a reviewer: LLDB.
Herald added subscribers: lldb-commits, abidh.
Herald added a project: LLDB.

Added support for for-range iterating over StringList. There is no reverse-iterator support because it seems
no one is doing that in LLDB. Also added some tests and migrated LLDB code over to for-range loops
where possible.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D66345

Files:
  lldb/include/lldb/Utility/CompletionRequest.h
  lldb/include/lldb/Utility/StringList.h
  lldb/source/Breakpoint/WatchpointOptions.cpp
  lldb/source/Commands/CommandObjectApropos.cpp
  lldb/source/Commands/CommandObjectCommands.cpp
  lldb/source/Commands/CommandObjectMultiword.cpp
  lldb/source/Commands/CommandObjectType.cpp
  lldb/source/Utility/Args.cpp
  lldb/source/Utility/StringList.cpp
  lldb/unittests/Editline/EditlineTest.cpp
  lldb/unittests/Utility/StringListTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66345.215581.patch
Type: text/x-patch
Size: 8309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190816/ccc1e08d/attachment-0001.bin>


More information about the lldb-commits mailing list