labath wrote:

> > the request will be expression="char*foo", which won't evaluate correctly 
> > in lldb.
> 
> We could search starting from the back for the first occurrence of either "&" 
> or "*". I think `llvm::StringRef::find_last_of()` does this.

That's rather specific to C. In Swift for instance, the variable name comes 
before the type (`var i:Int`).

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

Reply via email to