Make getSTDIN return null if the standard input is empty, as the header file
authorReid Spencer <rspencer@reidspencer.com>
Wed, 8 Aug 2007 20:01:58 +0000 (20:01 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 8 Aug 2007 20:01:58 +0000 (20:01 +0000)
commit2372ccc111cd8d33553fb20116a449ba5df5f6e9
tree6b93036c98fa30e53317608acf99a3b3b3c7f2aa
parent53424ad141bc1298c3d1cbd28d5c823950541788
Make getSTDIN return null if the standard input is empty, as the header file
documentation implies and as its uses depend.

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