Merge diff elimination updates from r355953 into vendor/llvm-project.

This commit is contained in:
Dimitry Andric 2019-12-20 21:33:12 +00:00
commit 1dbedf2828
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355957

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"));