[Lldb-commits] [lldb] [LLDB] Add type casting to DIL, part 1 of 3. (PR #165199)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 29 04:35:37 PDT 2025
================
@@ -3,10 +3,13 @@
(* This is currently a subset of the final DIL Language, matching the current
DIL implementation. *)
-expression = unary_expression ;
+expression = cast_expression;
+
+cast_expression = unary_expression
+ | "(" type_id ")" cast_expression;
unary_expression = postfix_expression
- | unary_operator expression ;
+ | unary_operator cast_expression ;
----------------
Michael137 wrote:
```suggestion
| unary_operator expression ;
```
would be the more general form?
https://github.com/llvm/llvm-project/pull/165199
More information about the lldb-commits
mailing list