Open llvmbot opened 14 years ago
Using one of the Perl option handling modules might ease the maintenance and extension of scan-build (and other Perl programs). Professor Damian Conway discusses several in his book "Perl Best Practices" in Chapter 14 which is entirely devoted to command-line processing.
Point well taken, but scan-build probably just needs to be rewritten entirely. It does a half-baked job of interposing on a build, and doesn't really provide a general infrastructure for plugging in various handlers for doing post-processing of analysis results (for integration in various processes). We can do micro improvements like this, but the thing really just needs to die.
Using one of the Perl option handling modules might ease the maintenance and extension of scan-build (and other Perl programs). Professor Damian Conway discusses several in his book "Perl Best Practices" in Chapter 14 which is entirely devoted to command-line processing.
assigned to @tkremenek
Extended Description
Most GNU programs allow for grouping single character options without arguments but at the moment "scan-build" does not. One should be able to enter "-vvv" instead of "-v -v -v".