Riyaz Puthiyapurayil via llvm-dev
2020-May-17 07:03 UTC
[llvm-dev] Dynamically adding command line options
There is a section at the Command Line documentation with the header "Dynamically Adding Command Line Options" but it is empty: https://llvm.org/docs/CommandLine.html#dynamically-adding-command-line-options What was this supposed to contain? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200517/2425ece9/attachment-0001.html>
Fangrui Song via llvm-dev
2020-May-23 18:09 UTC
[llvm-dev] Dynamically adding command line options
On 2020-05-17, Riyaz Puthiyapurayil via llvm-dev wrote:>There is a section at the Command Line documentation with the header "Dynamically Adding Command Line Options" but it is empty: > >https://llvm.org/docs/CommandLine.html#dynamically-adding-command-line-options > >What was this supposed to contain?It seems that the placeholder has been there since 2002 (https://reviews.llvm.org/rL3095). I guess it probably intended to include a static local variable example. // llvm/tools/llvm-readobj/llvm-readobj.cpp has an example. static cl::alias ...