================ @@ -0,0 +1,63 @@ +==================================== +Query Based Custom Clang-Tidy Checks +==================================== + +Introduction +============ + +This page provides examples of how to add query based custom checks for +:program:`clang-tidy`. + +Custom checks are based on :program:`clang-query` syntax. Every custom checks +will be registered in `custom` module to avoid name conflict. They can be +enabled or disabled by the checks option like the built-in checks. + +Custom checks support inheritance from parent configurations like other +configuration items. + +Goal: easy to write, cross platform, multiple versions supported toolkit for +custom clang-tidy rules. +Non-Goal: complex checks, performance, fix-its, etc. ---------------- vbvictor wrote:
```suggestion Non-Goals: complex checks, performance, fix-its, etc. ``` https://github.com/llvm/llvm-project/pull/131804 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits