Skip to content

Commit 9d042be

Browse files
committed
Add LibreOffice Clang plugin to ExternalClangExamples.rst
Reviewers: rsmith, rizsotto.mailinglist Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31133 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298490 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 9a1877f commit 9d042be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/ExternalClangExamples.rst

+8
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,11 @@ List of projects and tools
9090
You get more than 50 Qt related compiler warnings, ranging from unneeded
9191
memory allocations to misusage of API, including fix-its for automatic
9292
refactoring."
93+
94+
`<https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob_plain;f=compilerplugins/README;hb=HEAD>`_
95+
"LibreOffice uses a Clang plugin infrastructure to check during the build
96+
various things, some more, some less specific to the LibreOffice source code.
97+
There are currently around 50 such checkers, from flagging C-style casts and
98+
uses of reserved identifiers to ensuring that code adheres to lifecycle
99+
protocols for certain LibreOffice-specific classes. They may serve as
100+
examples for writing RecursiveASTVisitor-based plugins."

0 commit comments

Comments
 (0)