]> granicus.if.org Git - clang/commit
Driver: Prep for tool chain specific argument translation.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 25 Mar 2009 04:13:45 +0000 (04:13 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 25 Mar 2009 04:13:45 +0000 (04:13 +0000)
commitf3cad36e59a41b5767fe662b5ac8911ee174b801
tree63dc6f58c11d1e55925b68a3bf76eeb5c047e70d
parent515455ac32e2accac51c33ceaa7e2dd7c36ef3f2
Driver: Prep for tool chain specific argument translation.
 - Lift ArgList to a base class for InputArgList and DerivedArgList.

 - This is not a great decomposition, but it does embed the
   translation into the type system, and keep things efficient for
   tool chains that don't want to do any translation.

 - No intended functionality change.

Eventually I hope to get rid of tool chain specific translation and
have each tool do the right thing, but for now this is the easiest way
to match gcc precisely (which is good for testing).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67676 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/Driver/ArgList.h
include/clang/Driver/Compilation.h
include/clang/Driver/Driver.h
include/clang/Driver/Option.h
include/clang/Driver/Options.h
include/clang/Driver/ToolChain.h
lib/Driver/ArgList.cpp
lib/Driver/Compilation.cpp
lib/Driver/Driver.cpp
lib/Driver/OptTable.cpp
lib/Driver/Option.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h