diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /compilerplugins | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/sfxpoolitem.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/store/removevirtuals.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/store/unnecessaryvirtual.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/unusedfieldsremove.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/unusedmethodsremove.cxx | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/compilerplugins/clang/sfxpoolitem.cxx b/compilerplugins/clang/sfxpoolitem.cxx index 324813564c8b..d6942ebd1269 100644 --- a/compilerplugins/clang/sfxpoolitem.cxx +++ b/compilerplugins/clang/sfxpoolitem.cxx @@ -139,7 +139,6 @@ bool SfxPoolItem::VisitCXXRecordDecl(const CXXRecordDecl* decl) } - loplugin::Plugin::Registration< SfxPoolItem > X("sfxpoolitem"); } diff --git a/compilerplugins/clang/store/removevirtuals.cxx b/compilerplugins/clang/store/removevirtuals.cxx index f58a5652fefb..86f44773601c 100644 --- a/compilerplugins/clang/store/removevirtuals.cxx +++ b/compilerplugins/clang/store/removevirtuals.cxx @@ -145,7 +145,6 @@ bool RemoveVirtuals::VisitCXXMethodDecl( const CXXMethodDecl* functionDecl ) } - loplugin::Plugin::Registration< RemoveVirtuals > X("removevirtuals", false); } diff --git a/compilerplugins/clang/store/unnecessaryvirtual.cxx b/compilerplugins/clang/store/unnecessaryvirtual.cxx index 5a6d63384750..a5682ce96a96 100644 --- a/compilerplugins/clang/store/unnecessaryvirtual.cxx +++ b/compilerplugins/clang/store/unnecessaryvirtual.cxx @@ -221,7 +221,6 @@ gotfunc: } - loplugin::Plugin::Registration< UnnecessaryVirtual > X("unnecessaryvirtual", false); } diff --git a/compilerplugins/clang/unusedfieldsremove.cxx b/compilerplugins/clang/unusedfieldsremove.cxx index 8ea9a21aeaea..943034cc8826 100644 --- a/compilerplugins/clang/unusedfieldsremove.cxx +++ b/compilerplugins/clang/unusedfieldsremove.cxx @@ -128,7 +128,6 @@ bool UnusedFieldsRemove::VisitFieldDecl( const FieldDecl* fieldDecl ) } - loplugin::Plugin::Registration< UnusedFieldsRemove > X("unusedfieldsremove", false); } diff --git a/compilerplugins/clang/unusedmethodsremove.cxx b/compilerplugins/clang/unusedmethodsremove.cxx index 498f8dc75dea..4da3b16a38bb 100644 --- a/compilerplugins/clang/unusedmethodsremove.cxx +++ b/compilerplugins/clang/unusedmethodsremove.cxx @@ -142,7 +142,6 @@ bool UnusedMethodsRemove::VisitCXXMethodDecl( const CXXMethodDecl* functionDecl } - loplugin::Plugin::Registration< UnusedMethodsRemove > X("unusedmethodsremove", false); } |