aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-fnparam.h
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2021-10-11 11:53:08 -0700
committerDavid Faust <david.faust@oracle.com>2021-10-12 10:51:56 -0700
commita2c76651c9c7527d827a4f6f8b3be8fc654d24b7 (patch)
treefc56cab2ef771c2c4bba67e589c14d66f66d32ee /gcc/rust/backend/rust-compile-fnparam.h
parent99c28309d3553346d4f0337dbae49f4a8e48da01 (diff)
downloadgcc-a2c76651c9c7527d827a4f6f8b3be8fc654d24b7.zip
gcc-a2c76651c9c7527d827a4f6f8b3be8fc654d24b7.tar.gz
gcc-a2c76651c9c7527d827a4f6f8b3be8fc654d24b7.tar.bz2
Refactor TyTy with new Mutability enum
Add a new TyTy::TypeMutability enum for describing mutability. Use it for ReferenceType and PointerType, rather than a boolean is_mut, to make the code more readable. TyTy::TypeMutability can be used in several other places in the future. Fixes: #677
Diffstat (limited to 'gcc/rust/backend/rust-compile-fnparam.h')
0 files changed, 0 insertions, 0 deletions