File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1019,7 +1019,9 @@ static void performEndOfPipelineActions(CompilerInstance &Instance) {
10191019 // FIXME: This predicate matches the status quo, but there's no reason
10201020 // indexing cannot run for actions that do not require stdlib e.g. to better
10211021 // facilitate tests.
1022- if (FrontendOptions::doesActionRequireSwiftStandardLibrary (action)) {
1022+ if (FrontendOptions::doesActionRequireSwiftStandardLibrary (action) &&
1023+ // TODO: indexing often crashes when interop is enabled (rdar://87719859).
1024+ !Invocation.getLangOptions ().EnableCXXInterop ) {
10231025 emitIndexData (Instance);
10241026 }
10251027
Original file line number Diff line number Diff line change 1+ // RUN: %target-swift-frontend %s -c -index-system-modules -index-store-path %t -enable-cxx-interop
2+ //
3+ // REQUIRES: OS=macosx
4+
5+ import Foundation
6+
7+ func test( d: Date ) { }
You can’t perform that action at this time.
0 commit comments