[cfe-dev] Adding HelpText to external flags

陳韋任 via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 13 15:38:32 PDT 2017


> I believe this is in general a good thing to do, so when you add a new
> command line flag, and if that is intended to be used by users, please write
> a help message!

My 2 cents. Usually people are easy to forget writing something which
is not mandatory requirement.
Do you think it's possible to code down the rule, so that if HelpText
is missing for options used by user,
the code won't compile, or at least give some warning?

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj



More information about the cfe-dev mailing list