[all-commits] [llvm/llvm-project] 8334d2: [lldb/Interpreter] Fix ambiguous partial command r...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Thu Aug 8 12:55:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8334d2bfd34e2666db173269525d17352afa7bac
https://github.com/llvm/llvm-project/commit/8334d2bfd34e2666db173269525d17352afa7bac
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-08-08 (Thu, 08 Aug 2024)
Changed paths:
M lldb/docs/use/tutorial.rst
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
A lldb/test/API/functionalities/ambigous_commands/TestAmbiguousCommands.py
A lldb/test/API/functionalities/ambigous_commands/categories
Log Message:
-----------
[lldb/Interpreter] Fix ambiguous partial command resolution (#101934)
This patch is a follow-up to #97263 that fix ambigous abbreviated
command resolution.
When multiple commands are resolved, instead of failing to pick a
command to
run, this patch changes to resolution logic to check if there is a
single
alias match and if so, it will run the alias instead of the other
matches.
This has as a side-effect that we don't need to make aliases for every
substring of aliases to support abbrivated alias resolution.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list