[llvm-commits] CVS: llvm/lib/Support/MemoryBuffer.cpp

Chris Lattner clattner at apple.com
Sun May 6 00:43:39 PDT 2007


>> +  MemoryBufferMMapFile() {}
>> +
>> +  bool open(const sys::Path &Filename);
>
> Shouldn't this have a parameter to receive the error message ?

No, because membuffer doesn't know why the open failed.  It would  
always return the same thing.

-Chris



More information about the llvm-commits mailing list