[Lldb-commits] [lldb] [LLDB] Add type casting to DIL. (PR #159500)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 16 08:57:52 PDT 2025
================
@@ -44,6 +47,31 @@ nested_name_specifier = type_name "::"
| namespace_name '::'
| nested_name_specifier identifier "::" ;
+type_id = type_specifier_seq [abstract_declarator] ;
+
+type_specifier_seq = type_specifier [type_specifier];
+
+type_specifier = ["::"] [nested_name_specifier] type_name;
+ | "char"
+ | "bool"
+ | "short"
+ | "int"
+ | "long"
+ | "signed"
+ | "unsigned"
+ | "float"
+ | "double"
+ | "void" ;
----------------
adrian-prantl wrote:
I think I have a problem with hardcoding C type names in the grammar itself. I believe this should be an identifier and it should be up to TypeSystem to recognize these. Is that feasible?
https://github.com/llvm/llvm-project/pull/159500
More information about the lldb-commits
mailing list