Displaying 2 results from an estimated 2 matches for "toplevelsubcommand".
2016 Jun 30
2
PSA: llvm::cl now supports subcommands
I submitted this yesterday in r274171. I think this allows for a more
intuitive way to structure the options of command line tools. It's
optional and if you do nothing llvm::cl will work as it always has for you.
Probably self explanatory, but here's some output of --help from
llvm-pdbdump, which was updated to use subcommands in r274247, in case
anyone wants to see what this looks
2019 Nov 18
2
Unable to parse command line more than once using llvm libraries?
Thanks,
I tried calling ResetAllOptionOccurrences after the run like this…
// Compile the module TimeCompilations times to give better compile time
// metrics.
for (unsigned I = TimeCompilations; I; --I)
if (int RetVal = compileModule(argv, Context))
return RetVal;
if (YamlFile)
YamlFile->keep();
cl::ResetAllOptionOccurrences();
return 0;
}
Unfortunately