Skip to content

Commit fa96aae

Browse files
authored
Merge pull request #38180 from etcwilde/ewilde/swift-next/TargetInfoAdjust
[Swift Next] Fix TargetInfo::adjust call
2 parents 6856d8c + 9552918 commit fa96aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ ClangImporter::create(ASTContext &ctx,
11701170
//
11711171
// FIXME: We shouldn't need to do this, the target should be immutable once
11721172
// created. This complexity should be lifted elsewhere.
1173-
instance.getTarget().adjust(instance.getLangOpts());
1173+
instance.getTarget().adjust(clangDiags, instance.getLangOpts());
11741174

11751175
if (importerOpts.Mode == ClangImporterOptions::Modes::EmbedBitcode)
11761176
return importer;

0 commit comments

Comments
 (0)