From b6ae528de0ad821a42e62e0c503c7a5dd0086ee0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 22 Mar 2017 08:45:49 +0000 Subject: [PATCH] Add LibreOffice Clang plugin to ExternalClangExamples.rst Reviewers: rsmith, rizsotto.mailinglist Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31133 llvm-svn: 298490 --- clang/docs/ExternalClangExamples.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/clang/docs/ExternalClangExamples.rst b/clang/docs/ExternalClangExamples.rst index c9734ec..b92fa3f 100644 --- a/clang/docs/ExternalClangExamples.rst +++ b/clang/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." -- 2.7.4