mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-04 16:54:12 +00:00
Fix a -Wpessimizing-move warning.
llvm-svn: 251495
This commit is contained in:
parent
60ec421ca5
commit
5a82c57a8f
@ -47,7 +47,7 @@ public:
|
||||
const Triple& TT = TM->getTargetTriple();
|
||||
|
||||
if (TT.getArch() == Triple::x86_64 && TT.isOSDarwin())
|
||||
return std::move(TM);
|
||||
return TM;
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user