mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
Fix build error with clang and gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42d60ef585
commit
c0160aa0c7
@ -261,7 +261,7 @@ std::unique_ptr<DebugSubsection> YAMLLinesSubsection::toCodeViewSubsection(
|
||||
}
|
||||
}
|
||||
}
|
||||
return Result;
|
||||
return llvm::cast<DebugSubsection>(std::move(Result));
|
||||
}
|
||||
|
||||
std::unique_ptr<DebugSubsection>
|
||||
@ -282,7 +282,7 @@ YAMLInlineeLinesSubsection::toCodeViewSubsection(
|
||||
Result->addExtraFile(EF);
|
||||
}
|
||||
}
|
||||
return Result;
|
||||
return llvm::cast<DebugSubsection>(std::move(Result));
|
||||
}
|
||||
|
||||
static Expected<SourceFileChecksumEntry>
|
||||
|
Loading…
Reference in New Issue
Block a user