[NFC][Clang][Driver][AMDGPU] Avoid temporary copies of std::string by using Twine...
authorJuan Manuel MARTINEZ CAAMAÑO <juamarti@amd.com>
Mon, 5 Dec 2022 12:30:51 +0000 (06:30 -0600)
committerJuan Manuel MARTINEZ CAAMAÑO <juamarti@amd.com>
Mon, 5 Dec 2022 13:27:10 +0000 (07:27 -0600)
commita446827249bdeb2f27e55a9f4942bd7425ecb0ff
tree97d92d4ed4068c71e6317acb06b2de277f3bd1dc
parent453eb9eb4281feb130470198aa5bcc5b5cfafe91
[NFC][Clang][Driver][AMDGPU] Avoid temporary copies of std::string by using Twine and StringRef

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D139023
clang/lib/Driver/ToolChains/AMDGPU.cpp
clang/lib/Driver/ToolChains/HIPAMD.cpp
clang/lib/Driver/ToolChains/ROCm.h