Skip to content

Commit 306df18

Browse files
zoecarverhyp
authored andcommitted
Revert "[cxx-interop] Fix crash when indexing with C++ interop enabled."
This reverts commit 883a9ab.
1 parent 99c54ad commit 306df18

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,9 +1130,7 @@ static void performEndOfPipelineActions(CompilerInstance &Instance) {
11301130
// FIXME: This predicate matches the status quo, but there's no reason
11311131
// indexing cannot run for actions that do not require stdlib e.g. to better
11321132
// facilitate tests.
1133-
if (FrontendOptions::doesActionRequireSwiftStandardLibrary(action) &&
1134-
// TODO: indexing often crashes when interop is enabled (rdar://87719859).
1135-
!Invocation.getLangOptions().EnableCXXInterop) {
1133+
if (FrontendOptions::doesActionRequireSwiftStandardLibrary(action)) {
11361134
emitIndexData(Instance);
11371135
}
11381136

0 commit comments

Comments
 (0)