diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-21 17:55:43 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-21 17:55:43 +0000 |
commit | 54dfd5cad10c92bbae2d9f3d8933e728ed820db7 (patch) | |
tree | d3a2fad51671cfa34919dd013708010aa628cd5a /lib/CodeGen/CGBlocks.cpp | |
parent | 67b00520c8f5b48fad722b790d87fea6be764efe (diff) |
Frontend: Handle empty input on stdin.
- PR3854.
I think it makes more sense to change MemoryBuffer::getSTDIN (return 0
should indicate error, not empty), but it is documented to return 0
for empty inputs, and some other code appears to rely on this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions