llvm-project/lldb/source/Commands
Jason Molenda ccd41e55f1 Ran the sources through the compiler with -Wshadow warnings
enabled after we'd found a few bugs that were caused by shadowed
local variables; the most important issue this turned up was
a common mistake of trying to obtain a mutex lock for the scope
of a code block by doing

        Mutex::Locker(m_map_mutex);

This doesn't assign the lock object to a local variable; it is
a temporary that has its dtor called immediately.  Instead,

        Mutex::Locker locker(m_map_mutex);

does what is intended.  For some reason -Wshadow happened to
highlight these as shadowed variables.

I also fixed a few obivous and easy shadowed variable issues
across the code base but there are a couple dozen more that
should be fixed when someone has a free minute.
<rdar://problem/12437585>

llvm-svn: 165269
2012-10-04 22:47:07 +00:00
..
CommandCompletions.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
CommandObjectApropos.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
CommandObjectApropos.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectArgs.cpp Change the NULL to a 0 since we need a uint32_t 2012-09-11 16:09:27 +00:00
CommandObjectArgs.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpoint.cpp Change the new breakpoint creation output (primarily from "break set") to something more useful. 2012-09-22 00:04:04 +00:00
CommandObjectBreakpoint.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpointCommand.cpp Change the NULL to a 0 since we need a uint32_t 2012-09-11 16:09:27 +00:00
CommandObjectBreakpointCommand.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectCommands.cpp <rdar://problem/12188843> Fixing a problem where a Python command created in the same module where the target function is defined causes the help string not to come out 2012-09-18 21:53:02 +00:00
CommandObjectCommands.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectCrossref.cpp Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectDisassemble.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
CommandObjectDisassemble.h <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
CommandObjectExpression.cpp Implementing an Options class for EvaluateExpression() in order to make the signature more compact and make it easy to 'just run an expression' 2012-09-05 20:41:26 +00:00
CommandObjectExpression.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectFrame.cpp Change the NULL to a 0 since we need a uint32_t 2012-09-11 16:09:27 +00:00
CommandObjectFrame.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectHelp.cpp Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectHelp.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectLog.cpp Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectLog.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMemory.cpp Brought LLDB top-of-tree into sync with LLVM/Clang 2012-09-24 22:25:51 +00:00
CommandObjectMemory.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMultiword.cpp Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectPlatform.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
CommandObjectPlatform.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectPlugin.cpp Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
CommandObjectPlugin.h Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
CommandObjectProcess.cpp Add support for debugging KASLR kernels via kdp (the kernel being 2012-09-29 04:02:01 +00:00
CommandObjectProcess.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectQuit.cpp Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectQuit.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectRegister.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
CommandObjectRegister.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectSettings.cpp Change the NULL to a 0 since we need a uint32_t 2012-09-11 16:09:27 +00:00
CommandObjectSettings.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectSource.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
CommandObjectSource.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectSyntax.cpp Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectSyntax.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectTarget.cpp Ran the sources through the compiler with -Wshadow warnings 2012-10-04 22:47:07 +00:00
CommandObjectTarget.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectThread.cpp "thread step-out" should run all threads by default. 2012-09-14 21:04:15 +00:00
CommandObjectThread.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectType.cpp Fixed a typo. 2012-08-15 00:26:32 +00:00
CommandObjectType.h Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
CommandObjectVersion.cpp Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectVersion.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectWatchpoint.cpp Extended the "watchpoint set variable" code to 2012-09-14 17:20:18 +00:00
CommandObjectWatchpoint.h Chnage VerifyWatchpointIDs() from a static function to a class function to be called from other source files. 2012-06-19 22:12:58 +00:00
CommandObjectWatchpointCommand.cpp Change the NULL to a 0 since we need a uint32_t 2012-09-11 16:09:27 +00:00
CommandObjectWatchpointCommand.h rdar://problem/11457143 [ER] need "watchpoint command ..." 2012-08-09 23:09:42 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00