Eliminate differences between Git version of llvm-project master, and

our vendor import in ^/vendor/llvm-project/master.
This commit is contained in:
Dimitry Andric 2019-12-20 21:21:52 +00:00
parent 39d4256a58
commit c80d8fac37
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/llvm-project/master/; revision=355952
svn path=/vendor/llvm-project/llvmorg-10-init-8157-g186155b89c2/; revision=356153; tag=vendor/llvm-project/llvmorg-10-init-8157-g186155b89c2

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/trunk/lib/Basic/Version.cpp $");
StringRef SVNRepository("$URL$");
if (URL.empty()) {
URL = SVNRepository.slice(SVNRepository.find(':'),
SVNRepository.find("/lib/Basic"));