diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-10-30 15:26:19 -0700 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-10-30 16:03:00 -0700 |
commit | a925974bf166a83cfd45b0ca89c5c65d17f275cc (patch) | |
tree | e08143032d4c9afac1ed92aca0c34d6792ef24da /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 17b64e36e90ad05a32a99b9f5784b55310cc10e8 (diff) | |
download | llvm-a925974bf166a83cfd45b0ca89c5c65d17f275cc.zip llvm-a925974bf166a83cfd45b0ca89c5c65d17f275cc.tar.gz llvm-a925974bf166a83cfd45b0ca89c5c65d17f275cc.tar.bz2 |
Run clang-format on lldb/source/Commands (NFC)
These files had a lot of whitespace errors in them which was a
constant source of merge conflicts downstream.
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMemory.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index 38bd3d1..679a7b6 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -1440,8 +1440,7 @@ protected: case eFormatBytes: case eFormatHex: case eFormatHexUppercase: - case eFormatPointer: - { + case eFormatPointer: { // Decode hex bytes // Be careful, getAsInteger with a radix of 16 rejects "0xab" so we // have to special case that: @@ -1597,13 +1596,14 @@ protected: class CommandObjectMemoryHistory : public CommandObjectParsed { public: CommandObjectMemoryHistory(CommandInterpreter &interpreter) - : CommandObjectParsed( - interpreter, "memory history", "Print recorded stack traces for " - "allocation/deallocation events " - "associated with an address.", - nullptr, - eCommandRequiresTarget | eCommandRequiresProcess | - eCommandProcessMustBePaused | eCommandProcessMustBeLaunched) { + : CommandObjectParsed(interpreter, "memory history", + "Print recorded stack traces for " + "allocation/deallocation events " + "associated with an address.", + nullptr, + eCommandRequiresTarget | eCommandRequiresProcess | + eCommandProcessMustBePaused | + eCommandProcessMustBeLaunched) { CommandArgumentEntry arg1; CommandArgumentData addr_arg; @@ -1736,9 +1736,9 @@ protected: range_info.GetRange().GetRangeEnd(), range_info.GetReadable() ? 'r' : '-', range_info.GetWritable() ? 'w' : '-', - range_info.GetExecutable() ? 'x' : '-', - name ? " " : "", name.AsCString(""), - section_name ? " " : "", section_name.AsCString("")); + range_info.GetExecutable() ? 'x' : '-', name ? " " : "", + name.AsCString(""), section_name ? " " : "", + section_name.AsCString("")); m_prev_end_addr = range_info.GetRange().GetRangeEnd(); result.SetStatus(eReturnStatusSuccessFinishResult); } else { |