| Issue |
52897
|
| Summary |
Provide hint for unused flags accidentally passed without -Xclang
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
typesanitizer
|
```
clang tmp.c -dependency-dot output.dot
# clang-14: warning: argument unused during compilation: '-dependency-dot output.dot' [-Wunused-command-line-argument]
```
When an unused argument is recognized to be one that requires `-Xclang`, it would be helpful to add a note (separately or in the same diagnostic) saying something like `did you mean to use '-Xclang -dependency-dot -Xclang output.dot?`
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs