Add loplugin:includeform documentation
Change-Id: I5a8c6ab0a967d9da2e1764301cd54f87f467a653 Reviewed-on: https://gerrit.libreoffice.org/61176 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
ef20b1d3db
commit
b0eab4b2d2
2 changed files with 4 additions and 0 deletions
|
@ -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 @@
|
||||||
#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 {
|
||||||
|
|
Loading…
Reference in a new issue