unsubscribe On Thu, Mar 22, 2018 at 3:02 PM via cfe-users <cfe-users@lists.llvm.org> wrote:
> Send cfe-users mailing list submissions to > cfe-users@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-requ...@lists.llvm.org > > You can reach the person managing the list at > cfe-users-ow...@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@lists.llvm.org> > To: cfe-users@lists.llvm.org > Subject: [cfe-users] tooling clang 7.0 option parser extra argument > Message-ID: > < > cafkvq9ms1xcycw+3gbkwjxuhez5naqai-fjrdbd8bcff5dt...@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@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users > > > ------------------------------ > > End of cfe-users Digest, Vol 62, Issue 11 > ***************************************** >
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users