From: Stephan Bergmann Date: Wed, 22 Mar 2017 08:45:49 +0000 (+0000) Subject: Add LibreOffice Clang plugin to ExternalClangExamples.rst X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d042bec10a91011bc2401675325b4b9f675ab44;p=clang 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 --- diff --git a/docs/ExternalClangExamples.rst b/docs/ExternalClangExamples.rst index c9734ec5f2..b92fa3fcc0 100644 --- a/docs/ExternalClangExamples.rst +++ b/docs/ExternalClangExamples.rst @@ -90,3 +90,11 @@ List of projects and tools You get more than 50 Qt related compiler warnings, ranging from unneeded memory allocations to misusage of API, including fix-its for automatic refactoring." + +``_ + "LibreOffice uses a Clang plugin infrastructure to check during the build + various things, some more, some less specific to the LibreOffice source code. + There are currently around 50 such checkers, from flagging C-style casts and + uses of reserved identifiers to ensuring that code adheres to lifecycle + protocols for certain LibreOffice-specific classes. They may serve as + examples for writing RecursiveASTVisitor-based plugins."