[PATCH] D44774: [Driver] Allow use of -fsyntax-only together with -MJ

Joerg Sonnenberger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 26 07:36:58 PDT 2018


joerg added a comment.

Oh, we certainly should never be hitting an assertion on front-end flags. As such, there is a problem to fix here. I still maintain that the combination of flags is non-sense, so the question is:

(1) Should be silently ignore -MJ? That would be useful for your use case, but seems to violate POLA.

(2) Should be error out explicitly when no output is known? This is more harsh, but seems to provide more consistent behavior for -MJ.


Repository:
  rC Clang

https://reviews.llvm.org/D44774





More information about the cfe-commits mailing list