We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5dbf31a + dc131ee commit c09dbceCopy full SHA for c09dbce
lib/Frontend/ArgsToFrontendOptionsConverter.cpp
@@ -14,6 +14,7 @@
14
15
#include "ArgsToFrontendInputsConverter.h"
16
#include "ArgsToFrontendOutputsConverter.h"
17
+#include "clang/Driver/Driver.h"
18
#include "swift/AST/DiagnosticsFrontend.h"
19
#include "swift/Basic/Platform.h"
20
#include "swift/Frontend/Frontend.h"
@@ -68,7 +69,7 @@ bool ArgsToFrontendOptionsConverter::convert(
68
69
Opts.ExplicitModulesOutputPath = A->getValue();
70
} else {
71
SmallString<128> defaultPath;
- llvm::sys::path::cache_directory(defaultPath);
72
+ clang::driver::Driver::getDefaultModuleCachePath(defaultPath);
73
Opts.ExplicitModulesOutputPath = defaultPath.str().str();
74
}
75
if (const Arg *A = Args.getLastArg(OPT_backup_module_interface_path)) {
0 commit comments