Where can I find a complete list of clang flags? There are some, like -include-pch, that don't appear to be even listed in the man page. :(
I know that GCC uses some of the same flags, but it doesn't include documentation for stuff like -Os which I believe is only available in clang. Is there a place where I can find a single, consolidated list of all the clang options ever?
I don't know if this is exactly what you want, maybe more options are described elsewhere but I think you are interested by the Clang frontend options, by default the options displayed seem to describe the "GCC-compatible driver".
clang -cc1 --help
should give you what you want.
For Clang, they are listed in the diagnostics reference, which can be found on the documentation website here