]> granicus.if.org Git - clang/commit
Refactor program name logic. Extend it to infer the target triple from
authorJoerg Sonnenberger <joerg@bec.de>
Wed, 16 Mar 2011 20:15:43 +0000 (20:15 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Wed, 16 Mar 2011 20:15:43 +0000 (20:15 +0000)
commit0ce89c6b36004b2def9e7606c7d4678885314d5f
tree383b76f4ed57564fcae08ad7542bda5d8bc9b77c
parenteef7ac5837ef3e0682ac0973121fff8edaa46ca4
Refactor program name logic. Extend it to infer the target triple from
the program name, if it includes it as proper prefix. This makes calling
clang with -ccc-host-triple x86_64-linux the same as calling it with the
name x86_64-linux-clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127753 91177308-0d34-0410-b5e6-96231b3b80d8
tools/driver/driver.cpp