[cfe-commits] r103192 - /cfe/trunk/lib/Basic/Version.cpp
Daniel Dunbar
daniel at zuster.org
Thu May 6 11:39:38 PDT 2010
Author: ddunbar
Date: Thu May 6 13:39:38 2010
New Revision: 103192
URL: http://llvm.org/viewvc/llvm-project?rev=103192&view=rev
Log:
Basic: Update getClangRepositoryPath for my change to integration branch layout.
Modified:
cfe/trunk/lib/Basic/Version.cpp
Modified: cfe/trunk/lib/Basic/Version.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Version.cpp?rev=103192&r1=103191&r2=103192&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Version.cpp (original)
+++ cfe/trunk/lib/Basic/Version.cpp Thu May 6 13:39:38 2010
@@ -28,7 +28,8 @@
if (End)
URLEnd = End;
- End = strstr(URL, "/clang/tools/clang");
+ // Strip off version from a build from an integration branch.
+ End = strstr(URL, "/src/tools/clang");
if (End)
URLEnd = End;
More information about the cfe-commits
mailing list