mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #31874 from benlangmuir/driver-tmp-sad
[driver/sourcekit] Avoid creating temporary output files in TMPDIR
This commit is contained in:
@@ -507,7 +507,7 @@ bool SwiftASTManager::initCompilerInvocation(
|
||||
bool HadError = driver::getSingleFrontendInvocationFromDriverArguments(
|
||||
Args, Diags, [&](ArrayRef<const char *> FrontendArgs) {
|
||||
return Invocation.parseArgs(FrontendArgs, Diags);
|
||||
});
|
||||
}, /*ForceNoOutputs=*/true);
|
||||
|
||||
// Remove the StreamDiagConsumer as it's no longer needed.
|
||||
Diags.removeConsumer(DiagConsumer);
|
||||
|
||||
Reference in New Issue
Block a user