mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add missing new method to clang::serialization::DataStreamBasic{Reader,Writer} subclasses
See https://github.com/llvm/llvm-project/pull/134142
This commit is contained in:
@@ -61,6 +61,10 @@ public:
|
||||
asImpl().writeUInt64(uint64_t(value));
|
||||
}
|
||||
|
||||
void writeUnsignedOrNone(clang::UnsignedOrNone value) {
|
||||
asImpl().writeUInt64(uint64_t(value.toInternalRepresentation()));
|
||||
}
|
||||
|
||||
void writeSelector(clang::Selector selector) {
|
||||
if (selector.isNull()) {
|
||||
asImpl().writeUInt64(0);
|
||||
|
||||
Reference in New Issue
Block a user