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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 23 20:22:02 PDT 2022


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

I think this is fine. Driver options take precedence and cc1 options cannot be suggested.
If the user writes a cc1-only option without `-Xclang`, they likely have the particular need and will likely add `-Xclang` anyway.

This will need to wait until Aaron is happy.


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