forked from OSchip/llvm-project
parent
68902c7050
commit
5cda1b802d
|
@ -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