[Lldb-commits] [PATCH] D54692: [Driver] Use libOption with tablegen.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 26 08:01:09 PST 2018


There’s actually been a slow push away from cl::opt. It’s less flexible and
doesn’t support some things that the TableGen approach does. Recently
there’s been a few efforts to port existing tools onto TableGen options
from cl::opt.

I don’t think cl::opt is going away anytime soon so if it works I don’t
have a strong opinion, but it’s kinda nice to standardize on “the one true
method” if that’s the direction things are heading anyway
On Mon, Nov 26, 2018 at 7:51 AM Greg Clayton via Phabricator <
reviews at reviews.llvm.org> wrote:

> clayborg added a comment.
>
> Would be great to see old and new output like Zach suggested. Is there a
> reason we need to use TableGen? Other command line tools just use
> llvm:🆑:opt stuff. Seems a bit obtuse to use TableGen?
>
>
> Repository:
>   rLLDB LLDB
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D54692/new/
>
> https://reviews.llvm.org/D54692
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181126/bd477d68/attachment.html>


More information about the lldb-commits mailing list