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

via lldb-commits lldb-commits at lists.llvm.org
Sat Apr 5 08:43:14 PDT 2025


================
@@ -3,7 +3,9 @@
 (* 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 primary_expression ;
----------------
cmtice wrote:

Need to add just plain primary_expression -- we're not forcing all expressions to have unary ops -- could still be plain variable names.

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


More information about the lldb-commits mailing list