[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h

Michael Spencer bigcheesegs at gmail.com
Fri May 18 15:22:29 PDT 2012


On Fri, May 18, 2012 at 3:07 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
>
>> +  error_code ec = sys::fs::status(filePathTwine, stat);
>
> stat is undefined if ec isn't success. ec will be success even in the case of
> file_not_found.

Actually I was wrong. The Windows and UNIX implementation disagree on
this point. I'm going to change it to match
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3365.html#status
error_code semantics.




More information about the llvm-dev mailing list