File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,6 @@ class APINotesWriter::Implementation {
30
30
// / Scratch space for bitstream writing.
31
31
llvm::SmallVector<uint64_t , 64 > Scratch;
32
32
33
- #if defined(__APPLE__) && defined(SWIFT_DOWNSTREAM)
34
- bool SwiftImportAsMember = false ;
35
- #endif
36
-
37
33
// / Mapping from strings to identifier IDs.
38
34
llvm::StringMap<IdentifierID> IdentifierIDs;
39
35
@@ -227,13 +223,6 @@ void APINotesWriter::Implementation::writeControlBlock(
227
223
control_block::ModuleNameLayout ModuleName (Stream);
228
224
ModuleName.emit (Scratch, this ->ModuleName );
229
225
230
- #if defined(__APPLE__) && defined(SWIFT_DOWNSTREAM)
231
- if (SwiftInferImportAsMember) {
232
- control_block::ModuleOptionsLayout ModuleOptions (Stream);
233
- ModuleOptions.emit (Scratch, SwiftInferImportAsMember);
234
- }
235
- #endif
236
-
237
226
if (SourceFile) {
238
227
control_block::SourceFileLayout SourceFile (Stream);
239
228
SourceFile.emit (Scratch, this ->SourceFile ->getSize (),
You can’t perform that action at this time.
0 commit comments