[cfe-dev] detail the language option
Reid Kleckner
rnk at google.com
Thu Oct 24 10:01:15 PDT 2013
All of clang's --help is very terse, and I don't think calling out -x
really helps things.
Unfortunately, to my knowledge, clang doesn't have comprehensive
documentation for its options. The closest thing we have is:
http://clang.llvm.org/docs/UsersManual.html#command-line-options
... but it's not complete and full of TODOs.
If it's a gcc and clang option, we usually direct users to the gcc
documentation, which works in this case.
On Wed, Oct 23, 2013 at 5:50 PM, 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com>wrote:
> the -x command hints is too simple
>
>
> *-x language*
>
> Specify explicitly the *language* for the following input files (rather
> than letting the compiler choose a default based on the file name suffix).
> This option applies to all following input files until the next *'-x'* option.
> Possible values for *language* are:
> c c-header cpp-output c++ c++-cpp-output objective-c objc-cpp-output
> assembler assembler-with-cpp ada f77 f77-cpp-input ratfor java treelang
> Something like this should be better.
> So what kinds of clang -x language support? I want a list and add it to
> the option TD
> --
> 此致
> 礼
> 罗勇刚
> Yours
> sincerely,
> Yonggang Luo
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131024/92d20133/attachment.html>
More information about the cfe-dev
mailing list