diff options
| author | Oleksiy Vyalov <ovyalov@google.com> | 2016-04-15 00:56:11 +0000 |
|---|---|---|
| committer | Oleksiy Vyalov <ovyalov@google.com> | 2016-04-15 00:56:11 +0000 |
| commit | 987c8788d4b0bea5e17f45f0b07f193725250cb4 (patch) | |
| tree | 871f40cc2459a684bdd82e8d23817296911d3968 | |
| parent | 91de55f16128fcf51663a648bbd02e7e89cf3ba6 (diff) | |
| download | bcm5719-llvm-987c8788d4b0bea5e17f45f0b07f193725250cb4.tar.gz bcm5719-llvm-987c8788d4b0bea5e17f45f0b07f193725250cb4.zip | |
Rename out->std_out in AppleObjCRuntimeV2.cpp.
llvm-svn: 266401
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index b1c57fe37e8..8c001d08930 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -596,7 +596,7 @@ protected: { auto iterators_pair = objc_runtime->GetDescriptorIteratorPair(); auto iterator = iterators_pair.first; - auto &out = result.GetOutputStream(); + auto &std_out = result.GetOutputStream(); for(; iterator != iterators_pair.second; iterator++) { if (iterator->second) @@ -604,15 +604,15 @@ protected: const char* class_name = iterator->second->GetClassName().AsCString("<unknown>"); if (regex_up && class_name && !regex_up->Execute(class_name)) continue; - out.Printf("isa = 0x%" PRIx64, iterator->first); - out.Printf(" name = %s", class_name); - out.Printf(" instance size = %" PRIu64, iterator->second->GetInstanceSize()); - out.Printf(" num ivars = %" PRIuPTR, (uintptr_t)iterator->second->GetNumIVars()); + std_out.Printf("isa = 0x%" PRIx64, iterator->first); + std_out.Printf(" name = %s", class_name); + std_out.Printf(" instance size = %" PRIu64, iterator->second->GetInstanceSize()); + std_out.Printf(" num ivars = %" PRIuPTR, (uintptr_t)iterator->second->GetNumIVars()); if (auto superclass = iterator->second->GetSuperclass()) { - out.Printf(" superclass = %s", superclass->GetClassName().AsCString("<unknown>")); + std_out.Printf(" superclass = %s", superclass->GetClassName().AsCString("<unknown>")); } - out.Printf("\n"); + std_out.Printf("\n"); if (m_options.m_verbose) { for(size_t i = 0; @@ -620,23 +620,23 @@ protected: i++) { auto ivar = iterator->second->GetIVarAtIndex(i); - out.Printf(" ivar name = %s type = %s size = %" PRIu64 " offset = %" PRId32 "\n", + std_out.Printf(" ivar name = %s type = %s size = %" PRIu64 " offset = %" PRId32 "\n", ivar.m_name.AsCString("<unknown>"), ivar.m_type.GetDisplayTypeName().AsCString("<unknown>"), ivar.m_size, ivar.m_offset); } iterator->second->Describe(nullptr, - [objc_runtime, &out] (const char* name, const char* type) -> bool { - out.Printf(" instance method name = %s type = %s\n", - name, - type); + [objc_runtime, &std_out] (const char* name, const char* type) -> bool { + std_out.Printf(" instance method name = %s type = %s\n", + name, + type); return false; }, - [objc_runtime, &out] (const char* name, const char* type) -> bool { - out.Printf(" class method name = %s type = %s\n", - name, - type); + [objc_runtime, &std_out] (const char* name, const char* type) -> bool { + std_out.Printf(" class method name = %s type = %s\n", + name, + type); return false; }, nullptr); @@ -646,7 +646,7 @@ protected: { if (regex_up && !regex_up->Execute("")) continue; - out.Printf("isa = 0x%" PRIx64 " has no associated class.\n", iterator->first); + std_out.Printf("isa = 0x%" PRIx64 " has no associated class.\n", iterator->first); } } result.SetStatus(lldb::eReturnStatusSuccessFinishResult); |

