diff options
author | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-02-02 11:41:11 -0500 |
---|---|---|
committer | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-02-02 11:48:33 -0500 |
commit | fe082124faa8455cc9a68be5fdf10fc46a4d066c (patch) | |
tree | 76c7906c0e57e7dd5a02850a3c7a7ddaca2c1748 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 9b06f756b2438684e0a3357d3f6fd12b50a2092b (diff) | |
download | llvm-fe082124faa8455cc9a68be5fdf10fc46a4d066c.zip llvm-fe082124faa8455cc9a68be5fdf10fc46a4d066c.tar.gz llvm-fe082124faa8455cc9a68be5fdf10fc46a4d066c.tar.bz2 |
[clang][driver] Emit an error for `/clang:-x`
`/clang:-x` emits an error instead of a warning. And if the error is suppressed,
`/clang:-x` takes no effect.
Considering that `/clang:` is a recent addition in 2018-11 and there are MSVC
style alternatives, therefore `/clang:-x` doesn't seem useful and we just reject
it since properly supporting it would add lots of complexity.
Fixes #59307
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D142757
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions