summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-01-14 22:27:00 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-01-14 22:28:49 -0800
commita6faf851f49c7d50e92b16ff9d2e7c02790dd0f8 (patch)
treea7ca6edf62dd994474e7607dd7d90d23b39aad28 /lldb/source/Commands/CommandObjectWatchpointCommand.cpp
parentc42116cc653ae1618cc49dab367d9f6addd8cfd9 (diff)
downloadbcm5719-llvm-a6faf851f49c7d50e92b16ff9d2e7c02790dd0f8.tar.gz
bcm5719-llvm-a6faf851f49c7d50e92b16ff9d2e7c02790dd0f8.zip
[lldb/CommandInterpreter] Remove flag that's always true (NFC)
The 'asynchronously' argument to both GetLLDBCommandsFromIOHandler and GetPythonCommandsFromIOHandler is true for all call sites. This commit simplifies the API by dropping it and giving the baton a default argument.
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectWatchpointCommand.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
index 4cc74e77ed4..1b83e885d27 100644
--- a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
@@ -243,7 +243,6 @@ are no syntax errors may indicate that a function was declared but never called.
m_interpreter.GetLLDBCommandsFromIOHandler(
"> ", // Prompt
*this, // IOHandlerDelegate
- true, // Run IOHandler in async mode
wp_options); // Baton for the "io_handler" that will be passed back into
// our IOHandlerDelegate functions
}
OpenPOWER on IntegriCloud