mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix some warnings.
llvm-svn: 341508
This commit is contained in:
parent
910d9dfcf8
commit
70d3512e38
@ -105,14 +105,14 @@ PDBSymbol::create(const IPDBSession &PDBSession,
|
||||
auto SymbolPtr = createSymbol(PDBSession, RawSymbol->getSymTag());
|
||||
SymbolPtr->RawSymbol = RawSymbol.get();
|
||||
SymbolPtr->OwnedRawSymbol = std::move(RawSymbol);
|
||||
return std::move(SymbolPtr);
|
||||
return SymbolPtr;
|
||||
}
|
||||
|
||||
std::unique_ptr<PDBSymbol> PDBSymbol::create(const IPDBSession &PDBSession,
|
||||
IPDBRawSymbol &RawSymbol) {
|
||||
auto SymbolPtr = createSymbol(PDBSession, RawSymbol.getSymTag());
|
||||
SymbolPtr->RawSymbol = &RawSymbol;
|
||||
return std::move(SymbolPtr);
|
||||
return SymbolPtr;
|
||||
}
|
||||
|
||||
void PDBSymbol::defaultDump(raw_ostream &OS, int Indent) const {
|
||||
|
@ -32,5 +32,5 @@ SmallString<128> llvm::unittest::getInputFileDirectory() {
|
||||
Result.append((*File)->getBuffer().trim());
|
||||
llvm::sys::path::append(Result, "Inputs");
|
||||
llvm::sys::path::native(Result);
|
||||
return std::move(Result);
|
||||
return Result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user