[Lldb-commits] [PATCH] D81001: [lldb] Display autosuggestion part in gray if there is one possible suggestion

Shu Anzai via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 25 06:24:28 PDT 2020


gedatsu217 added a comment.

I understood what you said. Sorry, I misunderstood it. Indeed, m_current_autosuggestion is not good for the future. 
I will get the current user input every time calling ApplyCompleteCommand instead of using m_current_autosuggestion.

By the way, when I use llvm::Optional<std::string> as a return, how do I receive it? I want to receive the result in IOHandlerDelegate::IOHandlerSuggestion. If I write "result = ...GetAutoSuggestionForCommand(line)", an error, "no viable overloaded '='", occurs.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81001/new/

https://reviews.llvm.org/D81001





More information about the lldb-commits mailing list