summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-22 08:45:49 +0000
committerStephan Bergmann <sbergman@redhat.com>2017-03-22 08:45:49 +0000
commitb6ae528de0ad821a42e62e0c503c7a5dd0086ee0 (patch)
treea876dd75bc96c1552b64023b0ff11a5b2d13cd88
parentc6effaa4956d1c645711ffe869f586990cce731d (diff)
downloadbcm5719-llvm-b6ae528de0ad821a42e62e0c503c7a5dd0086ee0.tar.gz
bcm5719-llvm-b6ae528de0ad821a42e62e0c503c7a5dd0086ee0.zip
Add LibreOffice Clang plugin to ExternalClangExamples.rst
Reviewers: rsmith, rizsotto.mailinglist Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31133 llvm-svn: 298490
-rw-r--r--clang/docs/ExternalClangExamples.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/docs/ExternalClangExamples.rst b/clang/docs/ExternalClangExamples.rst
index c9734ec5f28..b92fa3fcc06 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."
+
+`<https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob_plain;f=compilerplugins/README;hb=HEAD>`_
+ "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."
OpenPOWER on IntegriCloud