aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-07-20 15:28:23 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-07-21 11:16:19 +0200
commit8dc692afc2c86cbf3b5124484dd2596514a5acf3 (patch)
tree9bc01a3484c3786743ab0d4a65cfca4dae95321e /gcc/rust/ast
parent137cd3bbaa05038b01c46f7ac7472da7ca662ed7 (diff)
downloadgcc-8dc692afc2c86cbf3b5124484dd2596514a5acf3.zip
gcc-8dc692afc2c86cbf3b5124484dd2596514a5acf3.tar.gz
gcc-8dc692afc2c86cbf3b5124484dd2596514a5acf3.tar.bz2
ast: Add new AttributeChecker visitor
This commit adds a new attribute checker visitor. Its role is to take care of validating builtin attributes and their inputs. In order to validate doc(alias) strings properly, as well as handle multiline (byte) strings, this also fixes the lexer to better handle EOF in bytes and codepoints.
Diffstat (limited to 'gcc/rust/ast')
0 files changed, 0 insertions, 0 deletions