Skip to content

Commit 727115b

Browse files
committed
Merge branch 'ewilde/rebranch/TargetInfoAdjust' into ewilde/swift-rebranch
2 parents b1ea839 + 569e66c commit 727115b

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)