teemperor added a comment.

I am wondering how SourceLocationSpec is related to lldb's Declaration class 
(which is FileSpec + line + column and describes a location in source code)? It 
seems like the current SourceLocationSpec is just a Declaration with the two 
additional search variables (and the first iteration was exactly the same as 
Declaration).

Could we maybe turn SourceLocationSpec to store a lldb::Declaration instead of 
file/line/column? I'm aware that the Declaration class first needs some cleanup 
(and a removal of that #ifdef around column....), but right now we are already 
using Declarations in a bunch of places to describe source locations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100965

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

Reply via email to