]> granicus.if.org Git - clang/commit
Driver: More Option implementation.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 4 Mar 2009 08:33:23 +0000 (08:33 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 4 Mar 2009 08:33:23 +0000 (08:33 +0000)
commit2c6f6f3c170502c5b810102cf85f05732a2aa9d0
tree9b60aa209aa4ea9b4fd9bcb135871b86f8614758
parent7f0f5dce3adcfce88d5c9a0ad0146a33c01a1e8f
Driver: More Option implementation.
 - Add Options.def file, collects option information.

 - Actual option instantiation is handled lazily by OptTable to allow
   the driver to not need to instantiate all options.

 - cast<> support for Option, other minor tweaks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66028 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Option.h
include/clang/Driver/Options.def [new file with mode: 0644]
include/clang/Driver/Options.h [new file with mode: 0644]
lib/Driver/OptTable.cpp [new file with mode: 0644]
lib/Driver/Option.cpp
tools/driver/Makefile
tools/driver/driver.cpp