@@ -1460,13 +1460,13 @@ struct ExplicitSwiftModuleLoader::Implementation {
1460
1460
for (auto &entry: *mapNode) {
1461
1461
auto key = getScalaNodeText (entry.getKey ());
1462
1462
auto val = getScalaNodeText (entry.getValue ());
1463
- if (key == " SwiftModule " ) {
1463
+ if (key == " moduleName " ) {
1464
1464
moduleName = val;
1465
- } else if (key == " SwiftModulePath " ) {
1465
+ } else if (key == " modulePath " ) {
1466
1466
result.modulePath = val;
1467
- } else if (key == " SwiftDocPath " ) {
1467
+ } else if (key == " docPath " ) {
1468
1468
result.moduleDocPath = val;
1469
- } else if (key == " SwiftSourceInfoPath " ) {
1469
+ } else if (key == " sourceInfoPath " ) {
1470
1470
result.moduleSourceInfoPath = val;
1471
1471
} else {
1472
1472
// Being forgiving for future fields.
@@ -1480,16 +1480,16 @@ struct ExplicitSwiftModuleLoader::Implementation {
1480
1480
}
1481
1481
// [
1482
1482
// {
1483
- // "SwiftModule ": "A",
1484
- // "SwiftModulePath ": "A.swiftmodule",
1485
- // "SwiftDocPath ": "A.swiftdoc",
1486
- // "SwiftSourceInfoPath ": "A.swiftsourceinfo"
1483
+ // "moduleName ": "A",
1484
+ // "modulePath ": "A.swiftmodule",
1485
+ // "docPath ": "A.swiftdoc",
1486
+ // "sourceInfoPath ": "A.swiftsourceinfo"
1487
1487
// },
1488
1488
// {
1489
- // "SwiftModule ": "B",
1490
- // "SwiftModulePath ": "B.swiftmodule",
1491
- // "SwiftDocPath ": "B.swiftdoc",
1492
- // "SwiftSourceInfoPath ": "B.swiftsourceinfo"
1489
+ // "moduleName ": "B",
1490
+ // "modulePath ": "B.swiftmodule",
1491
+ // "docPath ": "B.swiftdoc",
1492
+ // "sourceInfoPath ": "B.swiftsourceinfo"
1493
1493
// }
1494
1494
// ]
1495
1495
void parseSwiftExplicitModuleMap (StringRef fileName) {
0 commit comments