[cfe-commits] r64276 - /cfe/trunk/tools/ccc/ccclib/Driver.py

Mike Stump mrs at apple.com
Tue Feb 10 17:11:36 PST 2009


Author: mrs
Date: Tue Feb 10 19:11:36 2009
New Revision: 64276

URL: http://llvm.org/viewvc/llvm-project?rev=64276&view=rev
Log:
One more tweak to account for gluing together llvm and clang into one.

Modified:
    cfe/trunk/tools/ccc/ccclib/Driver.py

Modified: cfe/trunk/tools/ccc/ccclib/Driver.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Driver.py?rev=64276&r1=64275&r2=64276&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Driver.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Driver.py Tue Feb 10 19:11:36 2009
@@ -306,6 +306,7 @@
         # 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
 





More information about the cfe-commits mailing list