[cfe-commits] [PATCH] Make clang::driver::Option non virtual. First steps to extracting option parsing from clang.

Michael Spencer bigcheesegs at gmail.com
Fri Aug 17 16:47:19 PDT 2012


The attached patch makes the clang::driver::Option class have no virtual
members. It also gets rid of all of its subclasses. The end goal of the
clang::driver::Option refactoring is to make it a value type that has a single
OptTable::Info* member. Each OptTable will return its own subclass of Option
that interprets the flag bits.

- Michael Spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-Option-non-virtual.patch
Type: application/octet-stream
Size: 24696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120817/81cad988/attachment.obj>


More information about the cfe-commits mailing list