]> granicus.if.org Git - llvm/commit
Fix some C++ value / reference semantics issues.
authorZachary Turner <zturner@google.com>
Mon, 9 Oct 2017 18:50:29 +0000 (18:50 +0000)
committerZachary Turner <zturner@google.com>
Mon, 9 Oct 2017 18:50:29 +0000 (18:50 +0000)
commit5d1b2d36c7b6db5da794825347a15de261de6e92
tree1dc441cf2378fa57fc9aee056888c0910bf99114
parent280c6ad6bc0ba95b74286082b1546231b911b79e
Fix some C++ value / reference semantics issues.

Some functions were taking Twine's not by const&, these are all
fixed to take by const&.  We also had a case where some functions
were overloaded to accept by const& and &&.  Now there is only
one version which accepts by value and move's the value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315229 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-rc/ResourceFileWriter.cpp
tools/llvm-rc/ResourceFileWriter.h
tools/llvm-rc/ResourceScriptParser.cpp
tools/llvm-rc/ResourceScriptParser.h