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.
1 parent c03fbb5 commit 419240fCopy full SHA for 419240f
lib/Driver/Compilation.cpp
@@ -2049,6 +2049,7 @@ void Compilation::addDependencyPathOrCreateDummy(
2049
HaveAlreadyAddedDependencyPath = true;
2050
} else if (!depPath.empty()) {
2051
// Create dummy empty file
2052
- std::ofstream(depPath.str().c_str());
+ std::error_code EC;
2053
+ llvm::raw_fd_ostream(depPath, EC, llvm::sys::fs::F_None);
2054
}
2055
0 commit comments