[PATCH] D97265: [clang] Allow clang-check to customize output file name

2021-02-23 Thread Ella Ma via Phabricator via cfe-commits
OikawaKirie added a comment. In D97265#2581653 , @sammccall wrote: > > It looks like either we're in syntax-only mode (and -o will be ignored > regardless) or we're in analyzer mode, and want -o. > It seems tempting to just stop stripping it in this c

[PATCH] D97265: [clang] Allow clang-check to customize output file name

2021-02-23 Thread Sam McCall via Phabricator via cfe-commits
sammccall added a comment. It looks like either we're in syntax-only mode (and -o will be ignored regardless) or we're in analyzer mode, and want -o. It seems tempting to just stop stripping it in this case, but then we'll end up with -o foo.o -o foo.html, which is no good. So the logic of this

[PATCH] D97265: [clang] Allow clang-check to customize output file name

2021-02-23 Thread Ella Ma via Phabricator via cfe-commits
OikawaKirie created this revision. OikawaKirie added reviewers: hokein, sammccall, kbobyrev, alexfh. OikawaKirie added a project: clang. OikawaKirie requested review of this revision. Herald added a subscriber: cfe-commits. Required by https://stackoverflow.com/questions/58073606 As the output ar