Eliminate differences between Git version of llvm-project release/9.x,

and our vendor import in ^/vendor/llvm-project/release-9.x.
This commit is contained in:
Dimitry Andric 2019-12-20 21:25:22 +00:00
parent 1bf92d2694
commit fa0a39b7ea

View File

@ -35,7 +35,7 @@ std::string getClangRepositoryPath() {
// If the CLANG_REPOSITORY is empty, try to use the SVN keyword. This helps us
// pick up a tag in an SVN export, for example.
StringRef SVNRepository("$URL: https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_900/final/lib/Basic/Version.cpp $");
StringRef SVNRepository("$URL$");
if (URL.empty()) {
URL = SVNRepository.slice(SVNRepository.find(':'),
SVNRepository.find("/lib/Basic"));