jingham added inline comments.

================
Comment at: lldb/source/Commands/CommandObjectRegexCommand.cpp:74-76
       // Pass in true for "no context switching".  The command that called us
       // should have set up the context appropriately, we shouldn't have to
       // redo that.
----------------
jingham wrote:
> clayborg wrote:
> > Is this comment out of date now? It mentions passing in "true"?
> No, that comment has to do with the Interpreter's ExecutionContext, not the 
> history state.
Or rather, I think it was obsoleted a while ago.  What it's really explaining 
is why you don't need to call the version of HandleCommand that takes an 
override_context.  I think that was controlled by a bool at some point in the 
past.  I'll update the comment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126789

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to