aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-11-15 18:13:32 +0000
committerPhilip Herron <philip.herron@embecosm.com>2021-11-16 15:09:53 +0000
commit04a49acfa3caa7a85a1a9edd24d69da0ad575ad5 (patch)
treed6bf4186cb815ff8b0bdf691c9659cf14bca8efd /gcc/rust/ast/rust-ast.h
parent0f74fe23c6d602c257ba94b2522bd9d6a594609e (diff)
downloadgcc-04a49acfa3caa7a85a1a9edd24d69da0ad575ad5.zip
gcc-04a49acfa3caa7a85a1a9edd24d69da0ad575ad5.tar.gz
gcc-04a49acfa3caa7a85a1a9edd24d69da0ad575ad5.tar.bz2
Add negation operator overload support
Unary operator expressions can be treated as simply having a nullptr rvalue. This patch updates the shared operator overloading code to allow for a nullptr rhs to canonicalize the code path for all operator overloads. Fixes #249
Diffstat (limited to 'gcc/rust/ast/rust-ast.h')
0 files changed, 0 insertions, 0 deletions