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