diff options
Diffstat (limited to 'include/lld/Common/Filesystem.h')
-rw-r--r-- | include/lld/Common/Filesystem.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/lld/Common/Filesystem.h b/include/lld/Common/Filesystem.h new file mode 100644 index 000000000000..63a0f554a06c --- /dev/null +++ b/include/lld/Common/Filesystem.h @@ -0,0 +1,20 @@ +//===- Filesystem.h ---------------------------------------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLD_FILESYSTEM_H +#define LLD_FILESYSTEM_H + +#include "lld/Common/LLVM.h" +#include <system_error> + +namespace lld { +void unlinkAsync(StringRef path); +std::error_code tryCreateFile(StringRef path); +} // namespace lld + +#endif |