aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-06-21 17:26:25 -0600
committerTom Tromey <tom@tromey.com>2021-06-21 17:26:25 -0600
commit3ebfb4d4222d252673ce1afff5a7264e332b3b13 (patch)
tree66e959a411391ee82bcc73871bfbb0e741e2c06c /gcc/rust/backend/rust-compile-expr.h
parentf2d9faf3862a75247adbd6c233c889010902a34b (diff)
downloadgcc-3ebfb4d4222d252673ce1afff5a7264e332b3b13.zip
gcc-3ebfb4d4222d252673ce1afff5a7264e332b3b13.tar.gz
gcc-3ebfb4d4222d252673ce1afff5a7264e332b3b13.tar.bz2
Use unique_ptr in Token
Token currently uses a "std::string *". There's a comment proposing that perhaps this should be changed; but meanwhile, it's slightly cleaner to use unique_ptr rather than have Token manage the string's lifetime manually.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions