Author: Jim Ingham Date: 2022-09-13T14:58:27-07:00 New Revision: 3f23eb6591bb1eecae38019e8ab1fdf5e2951ae9
URL: https://github.com/llvm/llvm-project/commit/3f23eb6591bb1eecae38019e8ab1fdf5e2951ae9 DIFF: https://github.com/llvm/llvm-project/commit/3f23eb6591bb1eecae38019e8ab1fdf5e2951ae9.diff LOG: Revert "Trying to understand the TestHelp.py failure from 6c089b2." It didn't help. This reverts commit 81f8788528886ee611041e1f4ee54eea8bbfa277. Added: Modified: lldb/source/Interpreter/CommandAlias.cpp Removed: ################################################################################ diff --git a/lldb/source/Interpreter/CommandAlias.cpp b/lldb/source/Interpreter/CommandAlias.cpp index 80a926ef4d6a..e36edcac15a5 100644 --- a/lldb/source/Interpreter/CommandAlias.cpp +++ b/lldb/source/Interpreter/CommandAlias.cpp @@ -180,7 +180,7 @@ bool CommandAlias::IsDashDashCommand() { for (const auto &opt_entry : *GetOptionArguments()) { std::tie(opt, std::ignore, value) = opt_entry; - if (opt == "<argument>" && !value.empty() && + if (opt == CommandInterpreter::g_argument && !value.empty() && llvm::StringRef(value).endswith("--")) { m_is_dashdash_alias = eLazyBoolYes; break; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits