Complete list of clang flags?

后端 未结 3 1778
無奈伤痛
無奈伤痛 2020-12-04 07:23

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 som

3条回答
  •  一生所求
    2020-12-04 07:49

    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.

提交回复
热议问题