diff options
author | Tom Tromey <tom@tromey.com> | 2021-05-04 15:26:58 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-05-05 00:08:52 -0600 |
commit | 61d48b1e2b5bae1e0e5e48af296facd61617139c (patch) | |
tree | 7bae3f163d378f0bbfa8a746be573ee60f35044b /gcc/cfgexpand.c | |
parent | 96deddca2e535d09db1d244a96a1efc20e24b673 (diff) | |
download | gcc-61d48b1e2b5bae1e0e5e48af296facd61617139c.zip gcc-61d48b1e2b5bae1e0e5e48af296facd61617139c.tar.gz gcc-61d48b1e2b5bae1e0e5e48af296facd61617139c.tar.bz2 |
libcc1: avoid a call to c_str
This is a trivial change to libcc1 to avoid an explicit call to c_str.
Passing by const reference is slightly less wordy.
libcc1
* compiler.cc (make_regexp): Take const std::string.
(cc1_plugin::compiler_triplet_regexp::find): Update.
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions