31 lines · plain
1============================2External Clang-Tidy Examples3============================4 5Introduction6============7 8This page provides examples of what people have done with :program:`clang-tidy` that 9might serve as useful guides (or starting points) to develop your own checks. 10They may be helpful for necessary things such as how to write the `CMakeLists.txt`11for an out-of-tree plugin of :program:`clang-tidy` checks.12 13If you know of (or wrote!) a tool or project using :program:`clang-tidy`, please share it 14on `the Discourse forums (Clang Frontend category)15<https://discourse.llvm.org/c/clang/6>`_ for wider visibility and open a 16pull-request on `LLVM Github`_ to have it added here. Since the primary purpose of 17this page is to provide examples that can help developers, the listed projects should18have code available.19 20As :program:`clang-tidy` is using, for example, the AST Matchers and diagnostics of Clang,21`External Clang Examples`_ may also be useful to look at for such examples.22 23.. _LLVM Github: https://github.com/llvm/llvm-project24.. _External Clang Examples: https://clang.llvm.org/docs/ExternalClangExamples.html25 26List of projects and tools27==========================28 29`<https://github.com/coveooss/clang-tidy-plugin-examples>`_30 "This folder contains :program:`clang-tidy` plugins."31