Required by https://stackoverflow.com/questions/58073606
As the output argument is stripped out in the clang-check tool, it seems impossible for clang-check users to customize the output file name, even with -extra-args and -extra-arg-before.
This patch adds the -analyzer-output-path argument to allow users to adjust the output name. And if the argument is not set or the analyzer is not enabled, the original strip output adjuster will remove the output arguments.
I think this should have a name with clear semantics like -analyzer-output-file (and only be used in analyzer mode).
While it does just append -o to the command-line, I think it will confuse users to treat it as a generic output flag.