mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[libSyntax] Make the ByteTree protocol version consist of a major and minor component
This commit is contained in:
@@ -737,7 +737,8 @@ int doSerializeRawTree(const char *MainExecutablePath,
|
||||
if (options::AddByteTreeFields) {
|
||||
UserInfo[swift::byteTree::UserInfoKeyAddInvalidFields] = (void *)true;
|
||||
}
|
||||
swift::byteTree::ByteTreeWriter::write(Stream, /*ProtocolVersion=*/1,
|
||||
swift::byteTree::ByteTreeWriter::write(Stream,
|
||||
byteTree::SYNTAX_TREE_VERSION,
|
||||
*Root, UserInfo);
|
||||
auto OutputBufferOrError = llvm::FileOutputBuffer::create(
|
||||
options::OutputFilename, Stream.data().size());
|
||||
|
||||
Reference in New Issue
Block a user