aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-03-16 20:15:43 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-03-16 20:15:43 +0000
commit0ce89c6b36004b2def9e7606c7d4678885314d5f (patch)
tree383b76f4ed57564fcae08ad7542bda5d8bc9b77c /lib/Parse/ParseDecl.cpp
parenteef7ac5837ef3e0682ac0973121fff8edaa46ca4 (diff)
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
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions