diff options
author | emaste <emaste@FreeBSD.org> | 2014-03-19 13:18:42 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-03-19 13:18:42 +0000 |
commit | de2662087f68970c151b26a2997516c216039b26 (patch) | |
tree | 6a672eef9249553426e36975397cc5973493e038 /contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp | |
parent | 7327a493ea46f46df221ed1a16d03d1981a284e0 (diff) | |
download | FreeBSD-src-de2662087f68970c151b26a2997516c216039b26.zip FreeBSD-src-de2662087f68970c151b26a2997516c216039b26.tar.gz |
MFC r258884: Update LLDB to upstream r196259 snapshot
Sponsored by: DARPA, AFRL
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp b/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp index ef431e2..8e7e68a 100644 --- a/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp +++ b/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp @@ -1796,10 +1796,8 @@ LookupTypeInModule (CommandInterpreter &interpreter, strm.Printf("%zu match%s found in ", num_matches, num_matches > 1 ? "es" : ""); DumpFullpath (strm, &module->GetFileSpec(), 0); strm.PutCString(":\n"); - const uint32_t num_types = type_list.GetSize(); - for (uint32_t i=0; i<num_types; ++i) + for (TypeSP type_sp : type_list.Types()) { - TypeSP type_sp (type_list.GetTypeAtIndex(i)); if (type_sp) { // Resolve the clang type so that any forward references |