diff options
author | Zachary Turner <zturner@google.com> | 2017-03-13 17:12:12 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-13 17:12:12 +0000 |
commit | 4eb8449d6c6751669a85918ee15e203026c2b527 (patch) | |
tree | a46a087e549d6ce39390506ecb43c06ceb320127 /lldb/source/Commands/CommandObjectArgs.cpp | |
parent | e677a92241b27b7f2143122b5580ad38d1371c89 (diff) | |
download | llvm-4eb8449d6c6751669a85918ee15e203026c2b527.zip llvm-4eb8449d6c6751669a85918ee15e203026c2b527.tar.gz llvm-4eb8449d6c6751669a85918ee15e203026c2b527.tar.bz2 |
Fix up some enumerate() callsites in LLDB.
llvm-svn: 297640
Diffstat (limited to 'lldb/source/Commands/CommandObjectArgs.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectArgs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp index d98a246..1cbd386 100644 --- a/lldb/source/Commands/CommandObjectArgs.cpp +++ b/lldb/source/Commands/CommandObjectArgs.cpp @@ -223,9 +223,9 @@ bool CommandObjectArgs::DoExecute(Args &args, CommandReturnObject &result) { result.GetOutputStream().Printf("Arguments : \n"); for (auto entry : llvm::enumerate(args.entries())) { - result.GetOutputStream().Printf("%" PRIu64 " (%s): ", (uint64_t)entry.Index, - entry.Value.c_str()); - value_list.GetValueAtIndex(entry.Index)->Dump(&result.GetOutputStream()); + result.GetOutputStream().Printf( + "%" PRIu64 " (%s): ", (uint64_t)entry.index(), entry.value().c_str()); + value_list.GetValueAtIndex(entry.index())->Dump(&result.GetOutputStream()); result.GetOutputStream().Printf("\n"); } |