[clang][cli] Port more CodeGenOptions to marshalling infrastructure
authorJan Svoboda <jan_svoboda@apple.com>
Tue, 12 Jan 2021 11:35:50 +0000 (12:35 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Thu, 14 Jan 2021 12:21:44 +0000 (13:21 +0100)
commitfa2fe9608c1c1b402296960b1edc157230c30062
tree0664a5c56c88f3c793c391336143ca4dcaea095c
parent3bccd87a588b3c320b669686c8f006b92ff72182
[clang][cli] Port more CodeGenOptions to marshalling infrastructure

Leveraging the recently added TableGen constructs (ShouldParseIf and MarshallingInfoStringInt) to shift from manual command line parsing to automatic TableGen-driver marshalling.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D94488
clang/include/clang/Driver/Options.td
clang/lib/Frontend/CompilerInvocation.cpp