Skip to content

Commit 2b23f23

Browse files
committed
Revert "[Driver] Avoid using response files for SourceKit"
This reverts commit 6eb76df.
1 parent ab0da1e commit 2b23f23

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

lib/Driver/ToolChain.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ std::optional<Job::ResponseFileInfo>
7272
ToolChain::getResponseFileInfo(const Compilation &C, const char *executablePath,
7373
const ToolChain::InvocationInfo &invocationInfo,
7474
const ToolChain::JobContext &context) const {
75-
// Never use a response file if this is a dummy driver for SourceKit, we
76-
// just want the frontend arguments.
77-
if (getDriver().isDummyDriverForFrontendInvocation())
78-
return std::nullopt;
79-
8075
const bool forceResponseFiles =
8176
C.getArgs().hasArg(options::OPT_driver_force_response_files);
8277
assert((invocationInfo.allowsResponseFiles || !forceResponseFiles) &&

test/SourceKit/Misc/rdar98880399.swift

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)