aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-05-04 15:26:58 -0600
committerTom Tromey <tom@tromey.com>2021-05-05 00:06:17 -0600
commit30c9604c2c04587094207b3dc91f472acb6f331d (patch)
treeca7aab1ad8c8d17ffbdbbeeb1ce9d4d27729f448 /gcc
parent0f237df286ecaf366e19601917bedaf6224929d0 (diff)
downloadgcc-30c9604c2c04587094207b3dc91f472acb6f331d.zip
gcc-30c9604c2c04587094207b3dc91f472acb6f331d.tar.gz
gcc-30c9604c2c04587094207b3dc91f472acb6f331d.tar.bz2
libcc1: use unique_ptr more
This changes libcc1 to use unique_ptr in a few more places, removing some manual memory management. libcc1 * libcp1.cc (struct libcp1) <connection, compilerp>: Use unique_ptr. (~libcp1): Remove. (libcp1_compile, libcp1_set_triplet_regexp) (libcp1_set_driver_filename): Update. * libcc1.cc (struct libcc1) <connection, compilerp>: Use unique_ptr. (~libcc1): Remove. (libcc1_set_triplet_regexp, libcc1_set_driver_filename) (libcc1_compile): Update.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions