mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
[pdb] Fix some warnings that break -Werror builds.
llvm-svn: 277021
This commit is contained in:
parent
7e077bcfe5
commit
9a5389661b
@ -17,7 +17,7 @@ namespace llvm {
|
||||
namespace msf {
|
||||
template <class StreamType, class RefType> class StreamRefBase {
|
||||
public:
|
||||
StreamRefBase() : Stream(nullptr), Length(0), ViewOffset(0) {}
|
||||
StreamRefBase() : Stream(nullptr), ViewOffset(0), Length(0) {}
|
||||
StreamRefBase(const StreamType &Stream, uint32_t Offset, uint32_t Length)
|
||||
: Stream(&Stream), ViewOffset(Offset), Length(Length) {}
|
||||
|
||||
|
@ -198,9 +198,9 @@ Error DbiStreamBuilder::finalize() {
|
||||
DbiStreamHeader *H = Allocator.Allocate<DbiStreamHeader>();
|
||||
|
||||
if (auto EC = generateModiSubstream())
|
||||
return std::move(EC);
|
||||
return EC;
|
||||
if (auto EC = generateFileInfoSubstream())
|
||||
return std::move(EC);
|
||||
return EC;
|
||||
|
||||
H->VersionHeader = *VerHeader;
|
||||
H->VersionSignature = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user