StreamFile.init((const unsigned char *)(*Buffer)->getBufferStart(),
(const unsigned char *)(*Buffer)->getBufferEnd());
- llvm::BitstreamCursor Stream;
- Stream.init(StreamFile);
+ llvm::BitstreamCursor Stream(StreamFile);
// Sniff for the signature.
if (Stream.Read(8) != 'D' ||
// Initialize the stream
llvm::BitstreamReader StreamFile;
- BitstreamCursor Stream;
StreamFile.init((const unsigned char *)(*Buffer)->getBufferStart(),
(const unsigned char *)(*Buffer)->getBufferEnd());
- Stream.init(StreamFile);
+ BitstreamCursor Stream(StreamFile);
// Sniff for the signature.
if (Stream.Read(8) != 'C' ||
// Initialize the stream
llvm::BitstreamReader StreamFile;
- BitstreamCursor Stream;
StreamFile.init((const unsigned char *)(*Buffer)->getBufferStart(),
(const unsigned char *)(*Buffer)->getBufferEnd());
- Stream.init(StreamFile);
+ BitstreamCursor Stream(StreamFile);
// Sniff for the signature.
if (Stream.Read(8) != 'C' ||
// Initialize the input stream
llvm::BitstreamReader InStreamFile;
- llvm::BitstreamCursor InStream;
InStreamFile.init((const unsigned char *)(*Buffer)->getBufferStart(),
(const unsigned char *)(*Buffer)->getBufferEnd());
- InStream.init(InStreamFile);
+ llvm::BitstreamCursor InStream(InStreamFile);
// Sniff for the signature.
if (InStream.Read(8) != 'C' ||