<div dir="ltr"><div><div><div><div><div>Hey All,<br><br></div>I'm trying to make a tool that needs to work an awful lot like the Clang compiler itself. Things like -std=c++11 and -DMY_DEFINE=1 need to be able to be parsed and handled. For cross-platform, I also need it to approximate VS switches, which I believe Clang supports to some level (based on documentation). Originally I was doing this all manually by constructing a compiler instance, and configuring all the settings, but I thought it'd make a whole lot of sense if there were already some boilerplate for this some place.<br><br></div>At first I was cautious because from the code it didn't quite seem like CommonOptionsParser and ClangTool were what I wanted, but I decided to try it anyway. Unfortunately, after getting a sample application up-and-running, the command-line did not handle such switches as I feared.<br><br></div>Is there any kind of helper class that handles all of these options? Or should I just revert to a prior commit and attempt to continue from where I left off?<br><br></div>Thanks,<br></div>- Trent Reed<br></div>