Closed as not planned
Closed as not planned
Description
After #101103, -S
and -c
options seem to be incompatible when using -Werror. This doesn't seem to be intentional, from what I can tell.
The following comands result in clang: error: argument unused during compilation: '-c' [-Werror,-Wunused-command-line-argument]
touch foo.c
~/llvm-project/build/bin/clang -S -O0 -Werror -c .foo.c -o foo.c.o
CC: @MaskRay