CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
32 lines
1.3 KiB
ReStructuredText
32 lines
1.3 KiB
ReStructuredText
============================
|
|
External Clang-Tidy Examples
|
|
============================
|
|
|
|
Introduction
|
|
============
|
|
|
|
This page provides examples of what people have done with :program:`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 :program:`clang-tidy` checks.
|
|
|
|
If you know of (or wrote!) a tool or project using :program:`clang-tidy`,
|
|
please share it on `the Discourse forums (Clang Frontend category)
|
|
<https://discourse.llvm.org/c/clang/6>`_ 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 :program:`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.
|
|
|
|
.. _LLVM Github: https://github.com/llvm/llvm-project
|
|
.. _External Clang Examples: https://clang.llvm.org/docs/ExternalClangExamples.html
|
|
|
|
List of projects and tools
|
|
==========================
|
|
|
|
`<https://github.com/coveooss/clang-tidy-plugin-examples>`_
|
|
"This folder contains :program:`clang-tidy` plugins."
|