cmtice wrote:

If DIL is not allowed to recognize any operators except period, arrow, and 
parentheses, it seems to me that it won't be any more powerful than the current 
'frame variable' implementation, in which case what is the point of having it 
at all?  (As a matter of fact, it would be less powerful, since  'frame 
variable' also recognizes square brackets and star as valid operators and 
treats them accordingly).

At the same time, I understand the concern about wanting to be able to parse 
synthetic variable names, which can contain arbitrary operator-like symbols.  
So I have a tentative proposal:  How about insisting that  synthetic variable 
names need to be surrounded by special delimiters, such as backquote or slash?  
Or having some other way of marking them as special?

https://github.com/llvm/llvm-project/pull/123521
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to