[Lldb-commits] [lldb] [LLDB] Add unary operators Dereference and AddressOf to DIL (PR #134428)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 9 15:47:26 PDT 2025


================
@@ -3,7 +3,12 @@
 (* This is currently a subset of the final DIL Language, matching the current
    DIL implementation. *)
 
-expression = primary_expression ;
+expression = unary_expression ;
+
+unary_expression = unary_operator expression
----------------
kuilpd wrote:

We have a final grammar ready, but it will have to be adjusted every patch anyway. For now, this allows to write multiple unary operators in a row, like `&*foo`.

https://github.com/llvm/llvm-project/pull/134428


More information about the lldb-commits mailing list