[clang-tools-extra] [clang-tidy] support query based custom check (PR #131804)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 18 07:25:53 PDT 2025


================
@@ -0,0 +1,57 @@
+====================================
+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 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 builtin checks.
----------------
EugeneZelenko wrote:

`built-in`?

https://github.com/llvm/llvm-project/pull/131804


More information about the cfe-commits mailing list