commit | 41019d50ae519328dd3cf200815a2a2b0b64674e | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon May 11 15:28:55 2020 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Mon May 11 23:09:29 2020 +0000 |
tree | f03dfe1ab8f49aa19c4b439c78300fcdc911a981 | |
parent | 761d68dacefc578e45ff299761f20989aef67823 [diff] |
compiler: use const std::string& in a couple of places Use a reference to avoid copying a std::string. Fixes https://gcc.gnu.org/PR94766 Change-Id: Icd28fda48a795fe88c82fb7f57c6cfa2c8593f2a Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/233320 Reviewed-by: Cherry Zhang <cherryyz@google.com>