[cfe-dev] [clang-tidy] scarce documentation and readability-identifier-naming
don hinton via cfe-dev
cfe-dev at lists.llvm.org
Wed Sep 16 03:03:34 PDT 2015
Try passing the specific check, or all, i.e., *, to -checks when you
-dump-config. For example,
$ clang-tidy -checks=*naming -dump-config
- key: readability-identifier-naming.AbstractClassCase
- key: readability-identifier-naming.AbstractClassPrefix
- key: readability-identifier-naming.AbstractClassSuffix
- key: readability-identifier-naming.ClassCase
On Wed, Sep 16, 2015 at 5:15 AM, Gonzalo BG via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Dear all,
> I'm trying to set up clang-tidy's readability-identifier-naming for a
> project but the docs of clang-tidy are in general very scarce (a couple of
> example .clang-tidy files would definitely help).
> In particular I cannot figure out how to set up the "CaseType" option of
> the readability-identifier-naming check. Any Ideas? I've tried
> - key: readability-identifier-naming.CaseType
> value: 'lower_case'
> without any luck.
> I've also tried to dump the config using "-dump-config" to see all the
> knobs clang-tidy has but after a couple of lines I get "..." which I guess
> means that the rest of the options are not shown maybe because the list is
> too long. Is there a way to get all the options of all the checks
> clang-tidy has?
> Best regards,
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev