[cfe-users] cfe-users Digest, Vol 62, Issue 11

Ryan Lewis via cfe-users cfe-users at lists.llvm.org
Thu Mar 22 12:08:18 PDT 2018


unsubscribe

On Thu, Mar 22, 2018 at 3:02 PM via cfe-users <cfe-users at lists.llvm.org>
wrote:

> Send cfe-users mailing list submissions to
>         cfe-users at lists.llvm.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
> or, via email, send a message with subject or body 'help' to
>         cfe-users-request at lists.llvm.org
>
> You can reach the person managing the list at
>         cfe-users-owner at lists.llvm.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of cfe-users digest..."
>
>
> Today's Topics:
>
>    1. tooling clang 7.0 option parser extra argument
>       (Steven Varga via cfe-users)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 22 Mar 2018 00:37:35 -0400
> From: Steven Varga via cfe-users <cfe-users at lists.llvm.org>
> To: cfe-users at lists.llvm.org
> Subject: [cfe-users] tooling clang 7.0 option parser extra argument
> Message-ID:
>         <
> CAFkVQ9Ms1XCYCW+3gBkwJxuHEZ5naQAi-FjRdBD8Bcff5dt7Dg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> I was wondering it is possible to parse extra arguments with option parser?
>
> best,
> steven
>
> static llvm::cl::OptionCategory MyToolCategory("h5cpp options");
> ...
> int main(int argc, const char **argv) {
>
> CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
> ClangTool Tool(OptionsParser.getCompilations(),
> OptionsParser.getSourcePathList());
> ....
> }
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.llvm.org/pipermail/cfe-users/attachments/20180322/135eb202/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
>
> ------------------------------
>
> End of cfe-users Digest, Vol 62, Issue 11
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20180322/a04d770b/attachment.html>


More information about the cfe-users mailing list