================
@@ -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" ;
----------------
cmtice wrote:
That is in fact the way the (updated) implementation works: Just expecting
identifiers and using calls to LLDB's type system to determine if the name is
for a builtin type or not. I just forgot to update the grammar here when I
changed the implementation to work that way. I will update the grammar (thanks
for catching this).
https://github.com/llvm/llvm-project/pull/159500
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits