]> granicus.if.org Git - clang/commitdiff
One more tweak to account for gluing together llvm and clang into one.
authorMike Stump <mrs@apple.com>
Wed, 11 Feb 2009 01:11:36 +0000 (01:11 +0000)
committerMike Stump <mrs@apple.com>
Wed, 11 Feb 2009 01:11:36 +0000 (01:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64276 91177308-0d34-0410-b5e6-96231b3b80d8

tools/ccc/ccclib/Driver.py

index 0ee3c52d9a59257d23ccfa0159b5eaf50867c67a..cda016153e894ccd20258f8bb2960eb07da3e17e 100644 (file)
@@ -306,6 +306,7 @@ class Driver(object):
         # FIXME: Print default target triple.
         vers = '$HeadURL$'
         vers = vers.split('/tools/ccc')[0]
+        vers = vers.split('/clang/tools/clang')[0]
         vers = ' (' + vers[10:] + ')'
         print >>sys.stderr,'ccc version 1.0' + vers