External Clang-Tidy Examples — Extra Clang Tools 22.1.6 documentation

# Extra Clang Tools 22.1.6 documentation

## External Clang-Tidy Examples

## Introduction

This page provides examples of what people have done with clang-tidy that might serve as useful guides (or starting points) to develop your own checks. They may be helpful for necessary things such as how to write the CMakeLists.txt for an out-of-tree plugin of clang-tidy checks.

If you know of (or wrote!) a tool or project using clang-tidy, please share it on the Discourse forums (Clang Frontend category) for wider visibility and open a pull-request on LLVM Github to have it added here. Since the primary purpose of this page is to provide examples that can help developers, the listed projects should have code available.

As clang-tidy is using, for example, the AST Matchers and diagnostics of Clang, External Clang Examples may also be useful to look at for such examples.

## List of projects and tools

https://github.com/coveooss/clang-tidy-plugin-examples

  “This folder contains clang-tidy plugins.”