summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-08-19 05:56:37 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-08-19 05:56:37 +0000
commit026ddbb4d66793067dce6b9eeaea9181e8ea35fd (patch)
tree5bf229120c712098e04fd4bce557ce169a9a324a /llvm/lib/LTO/LTO.cpp
parent2c9336823ce238e1462f6fac04c9f202d258fb4f (diff)
downloadbcm5719-llvm-026ddbb4d66793067dce6b9eeaea9181e8ea35fd.tar.gz
bcm5719-llvm-026ddbb4d66793067dce6b9eeaea9181e8ea35fd.zip
[LTO] Add a move to inialize member in ctor initialization list (NFC)
llvm-svn: 279210
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index bab8e10a8fa..829ba27ea87 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -179,7 +179,7 @@ LTO::LTO(Config Conf, ThinBackend Backend,
unsigned ParallelCodeGenParallelismLevel)
: Conf(std::move(Conf)),
RegularLTO(ParallelCodeGenParallelismLevel, this->Conf),
- ThinLTO(Backend) {}
+ ThinLTO(std::move(Backend)) {}
// Add the given symbol to the GlobalResolutions map, and resolve its partition.
void LTO::addSymbolToGlobalRes(IRObjectFile *Obj,
OpenPOWER on IntegriCloud