[PATCH] D134550: [Clang] Make Clang driver suggest '-Xclang' for CC1 options passed to the driver

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 14:41:00 PDT 2022


jhuber6 added a comment.

In D134550#3816239 <https://reviews.llvm.org/D134550#3816239>, @aaron.ballman wrote:

> In terms of this patch -- is there sentiment to revert (even temporarily while we discuss)?

I think alternatively we could just change the message to mention that the provided flag matches a CC1 option without the suggestion. Then developers and users would know that they probably got something wrong but won't be encouraged to use the CC1 option directly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134550



More information about the cfe-commits mailing list