Update dependencies and regenerate CPP parser (#3)
Co-authored-by: mskelton <mskelton@users.noreply.github.com>
This commit is contained in:
co-authored by
mskelton
parent
872a37d1fd
commit
6a0041d903
@@ -1117,6 +1117,12 @@ enum Foo::Oof : Bar::Rab { };
|
||||
enum class Foo;
|
||||
enum struct Foo : char { };
|
||||
|
||||
class Foo {
|
||||
enum Bar {
|
||||
A, B
|
||||
};
|
||||
};
|
||||
|
||||
---
|
||||
|
||||
(translation_unit
|
||||
@@ -1127,7 +1133,11 @@ enum struct Foo : char { };
|
||||
(enum_specifier (type_identifier) (qualified_identifier (namespace_identifier) (type_identifier)) (enumerator_list))
|
||||
(enum_specifier (qualified_identifier (namespace_identifier) (type_identifier)) (qualified_identifier (namespace_identifier) (type_identifier)) (enumerator_list))
|
||||
(enum_specifier (type_identifier))
|
||||
(enum_specifier (type_identifier) (type_identifier) (enumerator_list)))
|
||||
(enum_specifier (type_identifier) (type_identifier) (enumerator_list))
|
||||
(class_specifier (type_identifier)
|
||||
(field_declaration_list
|
||||
(field_declaration
|
||||
(enum_specifier (type_identifier) (enumerator_list (enumerator (identifier)) (enumerator (identifier))))))))
|
||||
|
||||
============================
|
||||
static_assert declarations
|
||||
|
||||
+12
-1
@@ -113,6 +113,7 @@ Decltype
|
||||
decltype(A) x;
|
||||
decltype(B) foo(void x, decltype(C) y);
|
||||
template<typename T, typename U> auto add(T t, U u) -> decltype(t + u);
|
||||
array<decltype(foo)::type, 5> arr;
|
||||
|
||||
---
|
||||
|
||||
@@ -138,7 +139,17 @@ template<typename T, typename U> auto add(T t, U u) -> decltype(t + u);
|
||||
(parameter_declaration (type_identifier) (identifier)))
|
||||
(trailing_return_type
|
||||
(type_descriptor
|
||||
(decltype (binary_expression (identifier) (identifier)))))))))
|
||||
(decltype (binary_expression (identifier) (identifier))))))))
|
||||
(declaration
|
||||
(template_type
|
||||
(type_identifier)
|
||||
(template_argument_list
|
||||
(type_descriptor
|
||||
(qualified_identifier
|
||||
(decltype (identifier))
|
||||
(type_identifier)))
|
||||
(number_literal)))
|
||||
(identifier)))
|
||||
|
||||
====================================================
|
||||
Trailing return type
|
||||
|
||||
Reference in New Issue
Block a user