Skip to content

Commit 87a13f8

Browse files
authored
Merge pull request #12261 from modocache/remove-apple-only-from-10716
[Driver] Remove obsolete "APPLE-ONLY" comments
2 parents 7569dd4 + 6652e8f commit 87a13f8

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

include/swift/Driver/Types.def

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ TYPE("remap", Remapping, "remap", "")
6060
TYPE("imported-modules", ImportedModules, "importedmodules", "")
6161
TYPE("tbd", TBD, "tbd", "")
6262
TYPE("module-trace", ModuleTrace, "trace.json", "")
63-
64-
// BEGIN APPLE-ONLY OUTPUT TYPES
6563
TYPE("index-data", IndexData, "", "")
66-
// END APPLE-ONLY OUTPUT TYPES
6764

6865
// Misc types
6966
TYPE("pcm", ClangModuleFile, "pcm", "")

lib/Driver/Driver.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,12 +1158,10 @@ void Driver::buildOutputInfo(const ToolChain &TC, const DerivedArgList &Args,
11581158
OI.CompilerMode = OutputInfo::Mode::SingleCompile;
11591159
break;
11601160

1161-
// BEGIN APPLE-ONLY OUTPUT ACTIONS
11621161
case options::OPT_index_file:
11631162
OI.CompilerMode = OutputInfo::Mode::SingleCompile;
11641163
OI.CompilerOutputType = types::TY_IndexData;
11651164
break;
1166-
// END APPLE-ONLY OUTPUT ACTIONS
11671165

11681166
case options::OPT_update_code:
11691167
OI.CompilerOutputType = types::TY_Remapping;

lib/Driver/ToolChains.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,9 @@ ToolChain::constructInvocation(const CompileJobAction &job,
234234
case types::TY_ImportedModules:
235235
FrontendModeOption = "-emit-imported-modules";
236236
break;
237-
238-
// BEGIN APPLE-ONLY OUTPUT TYPES
239237
case types::TY_IndexData:
240238
FrontendModeOption = "-typecheck";
241239
break;
242-
// END APPLE-ONLY OUTPUT TYPES
243-
244240
case types::TY_Remapping:
245241
FrontendModeOption = "-update-code";
246242
break;

0 commit comments

Comments
 (0)