HomePhabricator

Remove unnecessary const&s; NFC

Authored by george.burgess.iv on May 22 2019, 7:52 PM.

Description

Remove unnecessary const&s; NFC

It's uncommon to rely on temporary lifetime extension when having a
regular, non-const& value behaves identically. Since Twine::str
and buildFixMsgForStringFlag both return regular std::strings,
there's seemingly no point in having const& here.

llvm-svn: 361457

Details

Committed
george.burgess.ivMay 22 2019, 7:52 PM
Parents
rGa86c889f0512: [CMake][Fuchsia] Use cannonical triples for runtimes
Branches
Unknown
Tags
Unknown