OSDN Git Service

Extend MemoryBuffer::getFile() to take an optional "stat" structure
authorDouglas Gregor <doug.gregor@gmail.com>
Mon, 15 Mar 2010 20:32:14 +0000 (20:32 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Mon, 15 Mar 2010 20:32:14 +0000 (20:32 +0000)
commit91ccc5a3f1fec604efa04df3d26fedb3c03aa33d
tree74960b9c621aee287e8d6bf0ae47a290bbdf5e86
parent893a97f1da187009c5028ffd3a93f99fc728c3c0
Extend MemoryBuffer::getFile() to take an optional "stat" structure
pointer. If given, the structure will be set with the stat information from
the file actually read.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98575 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/MemoryBuffer.h
lib/Support/MemoryBuffer.cpp