Skip to content
Commit 8e93780c authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

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: 67448
parent 45470943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment