aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-07-22 13:40:06 +0000
committerGitHub <noreply@github.com>2022-07-22 13:40:06 +0000
commitdec7ee4c5e703422ecb9bc94417645d66af7eaae (patch)
tree3aea5c56255e3cd08ff7ac851e7da4c789e40894 /gcc/rust/backend/rust-compile-resolve-path.cc
parent15d4bdd84a7aca62bceb9dead770fd1df4759360 (diff)
parent8dc692afc2c86cbf3b5124484dd2596514a5acf3 (diff)
downloadgcc-dec7ee4c5e703422ecb9bc94417645d66af7eaae.zip
gcc-dec7ee4c5e703422ecb9bc94417645d66af7eaae.tar.gz
gcc-dec7ee4c5e703422ecb9bc94417645d66af7eaae.tar.bz2
Merge #1406
1406: Add Attribute checking visitor r=CohenArthur a=CohenArthur This PR adds a new attribute checker visitor. Its role is to take care of validating builtin attributes and their inputs. This is currently a draft as there are multiple issues: 1. The visitor is not complete 2. The lexer is broken, but was also broken before in that it didn't allow multiline string literals. There is a FIXME asking for how to check for an `EOF` character when parsing UTF-8 strings 3. The checking of attributes is very limited. Currently, only the `#[doc(alias = "...")]` is being checked. This is incomplete. I'm looking for feedback on the implementation and advice for my issues. Thanks :) Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions