OSDN Git Service

Add disk_space() to llvm::fs
authorMehdi Amini <mehdi.amini@apple.com>
Fri, 1 Apr 2016 00:18:08 +0000 (00:18 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Fri, 1 Apr 2016 00:18:08 +0000 (00:18 +0000)
commite744acb2dd11883db4885280e418d1a54c26b6b0
tree408c40f2e254865e304afde436ad9aa850e83231
parent7876f64bc35215e06cfcc0d18aa6a81d2f7a31a4
Add disk_space() to llvm::fs

Summary: Adapted from Boost::filesystem.
(This is a reapply by reverting commit r265080 and fixing the WinAPI part)

Differential Revision: http://reviews.llvm.org/D18467

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265082 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileSystem.h
lib/Support/Unix/Path.inc
lib/Support/Windows/Path.inc