diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-21 17:56:30 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-21 17:56:30 +0000 |
commit | 891d57155e148556b8777a081e36920929b508cf (patch) | |
tree | fb16cd4c06a4caa1ac8ea2a2f71cea503dd5fb9e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 8e93780c86fdf57267b8569ab777ddf964983a91 (diff) | |
download | bcm5719-llvm-891d57155e148556b8777a081e36920929b508cf.tar.gz bcm5719-llvm-891d57155e148556b8777a081e36920929b508cf.zip |
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.
llvm-svn: 67449
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions