Compile Error SVN

llvm[2]: Compiling FileSystemStatCache.cpp for Release+Asserts build
FileSystemStatCache.cpp: In static member function ‘static bool clang::FileSystemStatCache::get(const char*, stat&, bool, int*, clang::FileSystemStatCache*)’:
FileSystemStatCache.cpp:63: error: ‘openFileForRead’ is not a member of ‘llvm::sys::fs’
make[2]: *** [/root/llvm-3.3.src/tools/clang/lib/Basic/Release+Asserts/FileSystemStatCache.o] Error 1
make[2]: Leaving directory /root/llvm-3.3.src/tools/clang/lib/Basic' make[1]: *** [Basic/.makeall] Error 2 make[1]: Leaving directory /root/llvm-3.3.src/tools/clang/lib’
make: *** [all] Error 1

Did I do something wrong?

error_code llvm::sys::fs::openFileForRead ( const Twine & Name,
> > int & ResultFD
> )

Referenced by llvm::MemoryBuffer::getFile().

This is the corresponding llvm page on openFileForRead. Did it change in the svn repo?

Hi Brian,

Did I do something wrong?

Are you sure your clang and LLVM are at the same revision? That line
from FileSystemStatCache.cpp was added a few days ago, on the same day
that the function itself seems to have been added (16th Jul) so if
your LLVM hasn't been updated things won't work.

Incidentally, I can strongly recommend "git blame" to tell you
reasonably accurately where problematic lines come from (and it looks
like "svn blame" exists too).

Tim.