Fixed a ton of gcc compile warnings
authorVince Harron <vince@nethacker.com>
Wed, 13 May 2015 00:25:54 +0000 (00:25 +0000)
committerVince Harron <vince@nethacker.com>
Wed, 13 May 2015 00:25:54 +0000 (00:25 +0000)
commitd7e6a4f2f07464acfe4fe98b4e4038c67c7b2975
tree329d2a720739a7140401e3842b751aa7f0651c93
parent9bbc3653c5ccb170167b2ab3c4ec098be83a3d04
Fixed a ton of gcc compile warnings

Removed some unused variables, added some consts, changed some casts
to const_cast. I don't think any of these changes are very
controversial.

Differential Revision: http://reviews.llvm.org/D9674

llvm-svn: 237218
33 files changed:
lldb/include/lldb/Core/DataEncoder.h
lldb/include/lldb/Interpreter/CommandObject.h
lldb/source/Commands/CommandObjectMemory.cpp
lldb/source/Core/DataBufferHeap.cpp
lldb/source/Core/DataEncoder.cpp
lldb/source/Core/FormatEntity.cpp
lldb/source/DataFormatters/StringPrinter.cpp
lldb/source/Expression/IRExecutionUnit.cpp
lldb/source/Host/common/Editline.cpp
lldb/source/Host/common/Symbols.cpp
lldb/source/Interpreter/Args.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Interpreter/Options.cpp
lldb/source/Interpreter/ScriptInterpreterPython.cpp
lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
lldb/source/Plugins/Instruction/ARM/EmulationStateARM.cpp
lldb/source/Plugins/Platform/Android/AdbClient.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
lldb/source/Plugins/Process/Linux/ProcessLinux.cpp
lldb/source/Plugins/Process/Linux/ProcessLinux.h
lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp
lldb/source/Symbol/CompactUnwindInfo.cpp
lldb/source/Symbol/DWARFCallFrameInfo.cpp
lldb/source/Symbol/Symtab.cpp
lldb/tools/driver/Driver.cpp