failed to compile the trunk code

Hi, all
I download the code from:
llvm: http://llvm.org/svn/llvm-project/llvm/trunk
clang: http://llvm.org/svn/llvm-project/cfe/trunk
compiler-rt: http://llvm.org/svn/llvm-project/compiler-rt/trunk

The errors are as follows when make:
tools/clang/tools/extra/remove-cstr-calls/RemoveCStrCalls.cpp:45:32:
fatal error: llvm/ADT/OwningPtr.h: No such file or directory
compilation terminated.
make[2]: *** [tools/clang/tools/extra/remove-cstr-calls/CMakeFiles/remove-cstr-calls.dir/RemoveCStrCalls.cpp.o]
Error 1
make[1]: *** [tools/clang/tools/extra/remove-cstr-calls/CMakeFiles/remove-cstr-calls.dir/all]
Error 2
make: *** [all] Error 2

The reasons are:
The llvm has removed the OwningPtr.h, but the clang source code still use them.

The log from llvm:
r211259 | alp | 2014-06-19 15:25:18 +0800 (Thu, 19 Jun 2014) | 3 lines
Remove OwningPtr.h and associated tests
llvm::OwningPtr is superseded by std::unique_ptr.

Eric

Best Regards.

Hi Eric,

It seems to me your ‘tools/clang/tools/extra’ checkout is out of sync with llvm & clang. tools-extra is a separate repository, and as such it needs to be updated at the same time than your llvm and clang checkouts in order to stay consistent.

Cheers,