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:08:52 -0600
commit61d48b1e2b5bae1e0e5e48af296facd61617139c (patch)
tree7bae3f163d378f0bbfa8a746be573ee60f35044b /gcc
parent96deddca2e535d09db1d244a96a1efc20e24b673 (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions