diff options
author | Eduardo Caldas <ecaldas@google.com> | 2020-08-04 17:33:36 +0000 |
---|---|---|
committer | Eduardo Caldas <ecaldas@google.com> | 2020-08-07 18:05:47 +0000 |
commit | 8abb5fb68f81b0e42d824bf080b1cef9a61559d6 (patch) | |
tree | f1e6e05d4bd4c318749e7e58e8738568b96dc4d2 /lldb/packages/Python/lldbsuite/test | |
parent | 25367dfefb7ba5cc35dc56bf5063562695f1dd04 (diff) | |
download | llvm-8abb5fb68f81b0e42d824bf080b1cef9a61559d6.zip llvm-8abb5fb68f81b0e42d824bf080b1cef9a61559d6.tar.gz llvm-8abb5fb68f81b0e42d824bf080b1cef9a61559d6.tar.bz2 |
[SyntaxTree] Use simplified grammar rule for `NestedNameSpecifier` grammar nodes
This is our grammar rule for nested-name-specifiers:
globalbal-specifier:
/*empty*/
simple-template-specifier:
template_opt simple-template-id
name-specifier:
global-specifier
decltype-specifier
identifier
simple-template-specifier
nested-name-specifier:
list(name-specifier, ::, non-empty, terminated)
It is a relaxed version of C++ [expr.prim.id] and quite simpler to map to our API.
TODO: refine name specifiers, `simple-template-name-specifier` and
decltype-name-specifier` are token soup for now.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions