aboutsummaryrefslogtreecommitdiff
path: root/gcc/file-prefix-map.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-21 10:23:55 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-06-12 09:56:01 +0000
commita8e63c472f8169ef8e9ca8e7216dbdb0ddabb7ef (patch)
tree2a3c44d7bb2c988d7d525f5d42f740076481b0f3 /gcc/file-prefix-map.h
parent53a857ac945f0acc8c8db93f534656acca4cbd71 (diff)
downloadgcc-a8e63c472f8169ef8e9ca8e7216dbdb0ddabb7ef.zip
gcc-a8e63c472f8169ef8e9ca8e7216dbdb0ddabb7ef.tar.gz
gcc-a8e63c472f8169ef8e9ca8e7216dbdb0ddabb7ef.tar.bz2
Parse raw ref operator
The raw ref operator is an unstable feature required to obtain a pointer to unaligned adresses (mainly unaligned struct fields) without UB. gcc/rust/ChangeLog: * ast/rust-ast-builder.cc (Builder::ref): Adapt constructor to the new API. * ast/rust-ast-collector.cc (TokenCollector::visit): Emit a raw weak keyword when required. * ast/rust-ast.cc (BorrowExpr::as_string): Change as_string representation to handle raw ref operator. * ast/rust-expr.h (class BorrowExpr): Add raw discriminant. * expand/rust-macro-builtins-include.cc: Adapt constructor to the new API. * parse/rust-parse-impl.h: Handle the raw weak keyword. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/file-prefix-map.h')
0 files changed, 0 insertions, 0 deletions