diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-01 00:13:31 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-01 00:13:31 +0000 |
| commit | 640de72a1efbf0f1c912ede48cbf4f0e1369ef45 (patch) | |
| tree | 979985458c71719c47f8473f381095f9c1814d50 /llvm/include | |
| parent | 0235e95a4b300de025e432206652878d74021e54 (diff) | |
| download | bcm5719-llvm-640de72a1efbf0f1c912ede48cbf4f0e1369ef45.tar.gz bcm5719-llvm-640de72a1efbf0f1c912ede48cbf4f0e1369ef45.zip | |
Revert "Add disk_space() to llvm::fs"
This reverts commit r265074 and r265068.
Breaks windows build
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265080
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Support/FileSystem.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/include/llvm/Support/FileSystem.h b/llvm/include/llvm/Support/FileSystem.h index 3d780236f12..4a4c3f493a5 100644 --- a/llvm/include/llvm/Support/FileSystem.h +++ b/llvm/include/llvm/Support/FileSystem.h @@ -32,7 +32,6 @@ #include "llvm/ADT/Twine.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/ErrorHandling.h" -#include "llvm/Support/ErrorOr.h" #include "llvm/Support/TimeValue.h" #include <ctime> #include <iterator> @@ -649,17 +648,6 @@ std::error_code identify_magic(const Twine &path, file_magic &result); std::error_code getUniqueID(const Twine Path, UniqueID &Result); -/// @brief Get disk space usage information. -/// -/// Note: Users must be careful about "Time Of Check, Time Of Use" kind of bug. -/// Note: Windows reports results according to the quota allocated to the user. -/// -/// @param Path Input path. -/// @returns a space_info structure filled with the capacity, free, and -/// available space on the device \a Path is on. A platform specific error_code -/// is returned on error. -ErrorOr<space_info> disk_space(const Twine &Path); - /// This class represents a memory mapped file. It is based on /// boost::iostreams::mapped_file. class mapped_file_region { |

