jingham accepted this revision.
jingham added a comment.

One of the oddities of the Search -> Search callback stuff is that the 
Searcher's Filter might be narrower than the level at which the Search Callback 
wants to be invoked.  The former is whatever the user actually wants limit the 
search to which is really undetermined, whereas the latter is the level that is 
convenient for implementing the callback, so there's no necessary linkage.  
That means that every time the callback finds a match, it has to check with the 
filter to see if the match falls within the filter.  This parameter was 
supposed to be a way for the searcher to tell the callback that it's search 
scope exactly matched the filter, so the callback didn't need to check.

That would be useful if checking the filter ever showed up as a performance 
issue, but it never has.  So it's fine to remove this.


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D68696



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

Reply via email to