forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Ia43744f84da9afcfc8c0548b16f9f912ad9b2f86
- Loading branch information
Showing
255 changed files
with
11,340 additions
and
2,609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
clang-tools-extra/docs/clang-tidy/ExternalClang-TidyExamples.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
============================ | ||
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." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.