Clion .clang-tidy schema
clang-tidy is working great from CLion.
But I changed the Checks parameter from a string to a YAML array. This allows me to add comments when I need to about the checks I've enabled/disabled:
Checks:
- '*'
- '-altera-unroll-loops'
- '-altera-id-dependent-backward-branch'
# for Arduino only
- '-hicpp-deprecated-headers'
- '-modernize-deprecated-headers'
Which works fine. Clang-tidy is okay with an array.
But CLion complains about a “Schema validation: incompatible types” .
Is there a way to change the schema or suppress that warning?
请先登录再写评论。