summaryrefslogtreecommitdiff
path: root/ELF/Filesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/Filesystem.h')
-rw-r--r--ELF/Filesystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Filesystem.h b/ELF/Filesystem.h
index a33dc3651a4a..d56d067f7378 100644
--- a/ELF/Filesystem.h
+++ b/ELF/Filesystem.h
@@ -15,7 +15,7 @@
namespace lld {
namespace elf {
void unlinkAsync(StringRef Path);
-bool isFileWritable(StringRef Path, StringRef FileDescription);
+std::error_code tryCreateFile(StringRef Path);
}
}