Kaydet (Commit) b0eab4b2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Add loplugin:includeform documentation

Change-Id: I5a8c6ab0a967d9da2e1764301cd54f87f467a653
Reviewed-on: https://gerrit.libreoffice.org/61176
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst ef20b1d3
...@@ -112,6 +112,8 @@ mail [Re: C[++]: Normalizing include syntax ("" vs ...@@ -112,6 +112,8 @@ mail [Re: C[++]: Normalizing include syntax ("" vs
The UNO API include files should consistently use double quotes, for the The UNO API include files should consistently use double quotes, for the
benefit of external users of this API. benefit of external users of this API.
loplugin:includeform (compilerplugins/clang/includeform.cxx) enforces these rules.
## Finding out more ## Finding out more
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include "compat.hxx" #include "compat.hxx"
#include "plugin.hxx" #include "plugin.hxx"
// Enforces the "Rules for #include directives (C/C++)" described in README.md.
namespace { namespace {
class IncludeForm final: public PPCallbacks, public loplugin::RewritePlugin { class IncludeForm final: public PPCallbacks, public loplugin::RewritePlugin {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment