diff options
author | Tom Tromey <tom@tromey.com> | 2021-06-21 21:54:49 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-06-22 12:06:17 -0600 |
commit | 9bedf77e05cfc25f522c42f1332507768abe3af0 (patch) | |
tree | 72e152a743485508530901b3e3b56b2b34e18673 /gcc/rust/backend/rust-compile-expr.h | |
parent | 3ebfb4d4222d252673ce1afff5a7264e332b3b13 (diff) | |
download | gcc-9bedf77e05cfc25f522c42f1332507768abe3af0.zip gcc-9bedf77e05cfc25f522c42f1332507768abe3af0.tar.gz gcc-9bedf77e05cfc25f522c42f1332507768abe3af0.tar.bz2 |
Require moves in Token constructors
This avoids some string copies by changing the Token constructors to
require any std::string argument to be transferred via std::move.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions