README.md                             |    2 ++
 compilerplugins/clang/includeform.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit b0eab4b2d2761139ecf5191252dfa8005cd29508
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Oct 1 09:10:07 2018 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Oct 1 16:15:11 2018 +0200

    Add loplugin:includeform documentation
    
    Change-Id: I5a8c6ab0a967d9da2e1764301cd54f87f467a653
    Reviewed-on: https://gerrit.libreoffice.org/61176
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/README.md b/README.md
index 3336d32ce04b..1e32005147d3 100644
--- a/README.md
+++ b/README.md
@@ -112,6 +112,8 @@ mail [Re: C[++]: Normalizing include syntax ("" vs
 The UNO API include files should consistently use double quotes, for the
 benefit of external users of this API.
 
+loplugin:includeform (compilerplugins/clang/includeform.cxx) enforces these 
rules.
+
 
 ## Finding out more
 
diff --git a/compilerplugins/clang/includeform.cxx 
b/compilerplugins/clang/includeform.cxx
index fe7bad18918f..0add9ffc47ba 100644
--- a/compilerplugins/clang/includeform.cxx
+++ b/compilerplugins/clang/includeform.cxx
@@ -14,6 +14,8 @@
 #include "compat.hxx"
 #include "plugin.hxx"
 
+// Enforces the "Rules for #include directives (C/C++)" described in README.md.
+
 namespace {
 
 class IncludeForm final: public PPCallbacks, public loplugin::RewritePlugin {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to