[llvm-dev] libOption

Russell Wallace via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 19 05:47:13 PDT 2016


I'm given to understand that the recommendation these days is to use
libOption instead of cl::opt, on the grounds that it has a number of
advantages including more control of which options are made available.

Is there any information available on how to use libOption, any
documentation or example programs? Do any existing programs use it except
the clang driver programs? Those customise their commandline handling
heavily enough that it's hard to use them as examples.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160419/31291824/attachment.html>


More information about the llvm-dev mailing list