[PATCH] D142757: [clang][driver] Emit an error for `/clang:-x`

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 30 15:03:56 PST 2023


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

LGTM.



================
Comment at: clang/docs/ReleaseNotes.rst:60
   `Issue 59446 <https://github.com/llvm/llvm-project/issues/59446>`_.
+- Fix confusing warning message when `/clang:-x` is passed in clang-cl driver
+  mode and emit an error which suggests using `/TC` or `/TP` clang-cl options
----------------
Double backtick

`LLVM_ENABLE_SPHINX=on` and run `ninja docs-clang-html` to check whether the docs build is good.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142757



More information about the cfe-commits mailing list