Extend MemoryBuffer::getFile() to take an optional "stat" structure
authorDouglas Gregor <dgregor@apple.com>
Mon, 15 Mar 2010 20:32:14 +0000 (20:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 15 Mar 2010 20:32:14 +0000 (20:32 +0000)
commit1bb30b6f750e2364a68af3b04c76ed26b4f508e8
tree74960b9c621aee287e8d6bf0ae47a290bbdf5e86
parent001903485fc78a4ae5f33420b25db73a22bfdf4a
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