Strip off the /clang/tools/clang at the end of the Subversion URL, if it's there

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86195 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Basic/Version.cpp b/lib/Basic/Version.cpp
index 9699ee4..18a8a88 100644
--- a/lib/Basic/Version.cpp
+++ b/lib/Basic/Version.cpp
@@ -26,6 +26,10 @@
   if (End)
     *End = 0;
   
+  End = strstr(URL, "/clang/tools/clang");
+  if (End)
+    *End = 0;
+  
   char *Begin = strstr(URL, "cfe/");
   if (Begin) {
     Path = Begin + 4;