https://bugs.llvm.org/show_bug.cgi?id=44743
Bug ID: 44743
Summary: Unable to check if a flag is warning or compile option
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Documentation
Assignee: unassignedclangb...@nondot.org
Reporter: kunal.ty...@rakuten.com
CC: llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
GCC provides a `--help=warning` option that lists all warnings which don't
affect compilation. There is no such option in clang, and the `clang --help`
isn't machine consumable (for a good reason).
An option to query for warn flags and compile options separately would be nice.
It'd be amazing if the warn flag option also worked like GCC (aka listed flags
that aren't provided to clang) to see which options are not in use.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs