yaxunl added a comment.

In D95007#2638955 <https://reviews.llvm.org/D95007#2638955>, @MaskRay wrote:

> Should `-cuid=` be `--cuid=`?

For the existing clang options, there seem to be no rule or convention whether 
to use - or --. For example,

  -rtlib=<value>          Compiler runtime library to use
  -save-stats=<value>     Save llvm statistics.
  -save-temps=<value>     Save intermediate compilation results.
  -std=<value>            Language standard to compile for
  -stdlib=<value>         C++ standard library to use
  -struct-layout=<value>  Run the Structure Peeling passes
  -struct-peel-mem-block-size=<value>
  -struct-peel-ptr-size=<value>
  -sycl-std=<value>       SYCL language standard to compile for.

Here I choose -cuid= since it is shorter.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95007/new/

https://reviews.llvm.org/D95007

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to