<div dir="ltr"><div class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;background-color:rgb(227,228,229);padding:0.25em 0.5em;border-top-left-radius:0.5em;border-top-right-radius:0.5em;color:rgb(0,0,0);font-size:14px">

<table class=""><tbody><tr><td class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif"><a class="" href="http://llvm.org/docs/doxygen/html/classllvm_1_1error__code.html" style="color:rgb(61,33,133);font-weight:bold">error_code</a> llvm::sys::fs::openFileForRead</td>

<td style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif">(</td><td class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif">const Twine & </td><td class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif">

<em>Name</em>,</td></tr><tr><td class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif"></td><td style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif"></td><td class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif">

int & </td><td class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif"><em>ResultFD</em> </td></tr><tr><td style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif"></td><td style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif">

)</td><td style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif"></td><td style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif"></td></tr></tbody></table></div><div class="" style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;padding-left:1em;padding-right:1em;color:rgb(0,0,0);font-size:14px">

<p>Referenced by <a class="" href="http://llvm.org/docs/doxygen/html/MemoryBuffer_8cpp_source.html#l00251" style="color:rgb(61,33,133);font-weight:bold">llvm::MemoryBuffer::getFile()</a>.</p><p>This is the corresponding llvm page on openFileForRead. Did it change in the svn repo?</p>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 18, 2013 at 11:35 AM, Brian Herman <span dir="ltr"><<a href="mailto:brianherman@gmail.com" target="_blank">brianherman@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>llvm[2]: Compiling FileSystemStatCache.cpp for Release+Asserts build</div><div>FileSystemStatCache.cpp: In static member function 'static bool clang::FileSystemStatCache::get(const char*, stat&, bool, int*, clang::FileSystemStatCache*)':</div>


<div>FileSystemStatCache.cpp:63: error: 'openFileForRead' is not a member of 'llvm::sys::fs'</div><div>make[2]: *** [/root/llvm-3.3.src/tools/clang/lib/Basic/Release+Asserts/FileSystemStatCache.o] Error 1</div>


<div>make[2]: Leaving directory `/root/llvm-3.3.src/tools/clang/lib/Basic'</div><div>make[1]: *** [Basic/.makeall] Error 2</div><div>make[1]: Leaving directory `/root/llvm-3.3.src/tools/clang/lib'</div><div>make: *** [all] Error 1</div>


<div><br></div><div>Did I do something wrong?</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr"><div><br></div><div><br></div><div><font face="arial, sans-serif">Thanks,</font></div><div>

Brian Herman<br><a href="http://college.nfshost.com" target="_blank">college.nfshost.com</a><br>
<br><br><br><br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><br></div><div><br></div><div><font face="arial, sans-serif">Thanks,</font></div><div>Brian Herman<br><a href="http://college.nfshost.com" target="_blank">college.nfshost.com</a><br>

<br><br><br><br></div></div>
</div>