@@ -587,24 +587,9 @@ createFromTypeToPathMap(const TypeToPathMap *map) {
587
587
if (!map)
588
588
return paths;
589
589
const std::pair<file_types::ID, std::string &> typesAndStrings[] = {
590
- {file_types::TY_ClangHeader, paths.ClangHeaderOutputPath },
591
- {file_types::TY_SwiftModuleFile, paths.ModuleOutputPath },
592
- {file_types::TY_SwiftModuleDocFile, paths.ModuleDocOutputPath },
593
- {file_types::TY_SwiftSourceInfoFile, paths.ModuleSourceInfoOutputPath },
594
- {file_types::TY_Dependencies, paths.DependenciesFilePath },
595
- {file_types::TY_SwiftDeps, paths.ReferenceDependenciesFilePath },
596
- {file_types::TY_SerializedDiagnostics, paths.SerializedDiagnosticsPath },
597
- {file_types::TY_ModuleTrace, paths.LoadedModuleTracePath },
598
- {file_types::TY_TBD, paths.TBDPath },
599
- {file_types::TY_SwiftModuleInterfaceFile,
600
- paths.ModuleInterfaceOutputPath },
601
- {file_types::TY_SwiftModuleSummaryFile, paths.ModuleSummaryOutputPath },
602
- {file_types::TY_PrivateSwiftModuleInterfaceFile,
603
- paths.PrivateModuleInterfaceOutputPath },
604
- {file_types::TY_YAMLOptRecord, paths.YAMLOptRecordPath },
605
- {file_types::TY_BitstreamOptRecord, paths.BitstreamOptRecordPath },
606
- {file_types::TY_SwiftABIDescriptor, paths.ABIDescriptorOutputPath },
607
- {file_types::TY_ConstValues, paths.ConstValuesOutputPath }
590
+ #define OUTPUT (NAME, TYPE ) {file_types::TYPE, paths.NAME },
591
+ #include " swift/Basic/SupplementaryOutputPaths.def"
592
+ #undef OUTPUT
608
593
};
609
594
for (const std::pair<file_types::ID, std::string &> &typeAndString :
610
595
typesAndStrings) {
0 commit comments