[PATCH] D111781: [flang] Make the frontend driver error out when requesting multiple actions

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 04:00:31 PDT 2021


awarzynski added a comment.

In D111781#3108401 <https://reviews.llvm.org/D111781#3108401>, @jansvoboda11 wrote:

> Both of those links point to the cfe-dev mailing list.

Sorry for that, updated in the original comment!

> Personally, I don't think this is something we'd want for `clang -cc1`.

Sure thing. And it's helpful to know that people are happy with the "status quo" (for good reasons, as you note below).

> On the other hand, when hacking on Clang, I often grab a `-cc1` invocation and append `-Eonly` to only run the preprocessor. If that resulted in an error and forced me to go through the whole command-line and remove `-c`, I'd be very frustrated.

That's a very interesting perspective. We don't hit this use-case just yet, because our feature list is still very limited. But we *are* heading in the similar direction (in terms of our workflows).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111781/new/

https://reviews.llvm.org/D111781



More information about the llvm-commits mailing list