summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-13 15:29:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-14 07:12:31 +0100
commite73b99b8dda36545116ac5b5f00c210642c2e3a6 (patch)
tree57ffb047763e23d90ccf979ddbe7fef5a7597923 /idlc
parent7ae61449ccbeaf6a0b2aa8e81aad394b18565943 (diff)
loplugin:finalclasses in i18npool..linguistic
Change-Id: Ib903fb2fdb4c4c25f73053065b828dade8b63785 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86687 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/astattribute.hxx2
-rw-r--r--idlc/inc/astbasetype.hxx2
-rw-r--r--idlc/inc/astconstant.hxx2
-rw-r--r--idlc/inc/astconstants.hxx2
-rw-r--r--idlc/inc/astenum.hxx2
-rw-r--r--idlc/inc/astexception.hxx2
-rw-r--r--idlc/inc/astinterfacemember.hxx2
-rw-r--r--idlc/inc/astneeds.hxx2
-rw-r--r--idlc/inc/astobserves.hxx2
-rw-r--r--idlc/inc/astoperation.hxx2
-rw-r--r--idlc/inc/astparameter.hxx2
-rw-r--r--idlc/inc/astsequence.hxx2
-rw-r--r--idlc/inc/astservice.hxx2
-rw-r--r--idlc/inc/astservicemember.hxx2
-rw-r--r--idlc/inc/aststructinstance.hxx2
-rw-r--r--idlc/inc/asttypedef.hxx2
16 files changed, 16 insertions, 16 deletions
diff --git a/idlc/inc/astattribute.hxx b/idlc/inc/astattribute.hxx
index 7ce370a7fa94..b9a799f92db3 100644
--- a/idlc/inc/astattribute.hxx
+++ b/idlc/inc/astattribute.hxx
@@ -27,7 +27,7 @@
namespace typereg { class Writer; }
-class AstAttribute: public AstDeclaration, public AstScope {
+class AstAttribute final : public AstDeclaration, public AstScope {
public:
AstAttribute(
sal_uInt32 flags, AstType const * type, OString const & name,
diff --git a/idlc/inc/astbasetype.hxx b/idlc/inc/astbasetype.hxx
index e276be9f519b..9c4e6ea42575 100644
--- a/idlc/inc/astbasetype.hxx
+++ b/idlc/inc/astbasetype.hxx
@@ -23,7 +23,7 @@
#include "astexpression.hxx"
-class AstBaseType : public AstType
+class AstBaseType final : public AstType
{
public:
AstBaseType(const ExprType type, const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astconstant.hxx b/idlc/inc/astconstant.hxx
index 9777bd77d5df..fb8b417f4073 100644
--- a/idlc/inc/astconstant.hxx
+++ b/idlc/inc/astconstant.hxx
@@ -24,7 +24,7 @@
namespace typereg { class Writer; }
-class AstConstant : public AstDeclaration
+class AstConstant final : public AstDeclaration
{
public:
AstConstant(const ExprType type, const NodeType nodeType,
diff --git a/idlc/inc/astconstants.hxx b/idlc/inc/astconstants.hxx
index f7a2cc4b19b3..cf97e2cc6971 100644
--- a/idlc/inc/astconstants.hxx
+++ b/idlc/inc/astconstants.hxx
@@ -21,7 +21,7 @@
#include "astmodule.hxx"
-class AstConstants : public AstModule
+class AstConstants final : public AstModule
{
public:
AstConstants(const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astenum.hxx b/idlc/inc/astenum.hxx
index 72a90ee7ed6e..085a397b0f22 100644
--- a/idlc/inc/astenum.hxx
+++ b/idlc/inc/astenum.hxx
@@ -23,7 +23,7 @@
#include "astscope.hxx"
#include "astconstant.hxx"
-class AstEnum : public AstType
+class AstEnum final : public AstType
, public AstScope
{
public:
diff --git a/idlc/inc/astexception.hxx b/idlc/inc/astexception.hxx
index 39b01afe60e6..70c1ffc9c706 100644
--- a/idlc/inc/astexception.hxx
+++ b/idlc/inc/astexception.hxx
@@ -21,7 +21,7 @@
#include "aststruct.hxx"
-class AstException : public AstStruct
+class AstException final : public AstStruct
{
public:
AstException(const OString& name, AstException const * pBaseType, AstScope* pScope)
diff --git a/idlc/inc/astinterfacemember.hxx b/idlc/inc/astinterfacemember.hxx
index e421f75af5aa..0e290e1875d7 100644
--- a/idlc/inc/astinterfacemember.hxx
+++ b/idlc/inc/astinterfacemember.hxx
@@ -21,7 +21,7 @@
#include "astinterface.hxx"
-class AstInterfaceMember : public AstDeclaration
+class AstInterfaceMember final : public AstDeclaration
{
public:
AstInterfaceMember(const sal_uInt32 flags, AstInterface* pRealInterface,
diff --git a/idlc/inc/astneeds.hxx b/idlc/inc/astneeds.hxx
index 774369a03ff5..d0914222a091 100644
--- a/idlc/inc/astneeds.hxx
+++ b/idlc/inc/astneeds.hxx
@@ -21,7 +21,7 @@
#include "astservice.hxx"
-class AstNeeds : public AstDeclaration
+class AstNeeds final : public AstDeclaration
{
public:
AstNeeds(AstService* pRealService, const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astobserves.hxx b/idlc/inc/astobserves.hxx
index 0607dc113b13..54da873b5631 100644
--- a/idlc/inc/astobserves.hxx
+++ b/idlc/inc/astobserves.hxx
@@ -21,7 +21,7 @@
#include "astinterface.hxx"
-class AstObserves : public AstDeclaration
+class AstObserves final : public AstDeclaration
{
public:
AstObserves(AstInterface* pRealInterface, const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astoperation.hxx b/idlc/inc/astoperation.hxx
index a6aa2cffde1a..e3e0335c968e 100644
--- a/idlc/inc/astoperation.hxx
+++ b/idlc/inc/astoperation.hxx
@@ -26,7 +26,7 @@ namespace typereg { class Writer; }
class AstType;
-class AstOperation : public AstDeclaration
+class AstOperation final : public AstDeclaration
, public AstScope
{
public:
diff --git a/idlc/inc/astparameter.hxx b/idlc/inc/astparameter.hxx
index 72fdf9425d6a..cfee3426079b 100644
--- a/idlc/inc/astparameter.hxx
+++ b/idlc/inc/astparameter.hxx
@@ -24,7 +24,7 @@
enum Direction { DIR_IN, DIR_OUT, DIR_INOUT };
-class AstParameter: public AstMember {
+class AstParameter final : public AstMember {
public:
AstParameter(
Direction direction, bool rest, AstType const * type,
diff --git a/idlc/inc/astsequence.hxx b/idlc/inc/astsequence.hxx
index 6c2143267532..68a98dfe5162 100644
--- a/idlc/inc/astsequence.hxx
+++ b/idlc/inc/astsequence.hxx
@@ -21,7 +21,7 @@
#include "asttype.hxx"
-class AstSequence : public AstType
+class AstSequence final : public AstType
{
public:
AstSequence(AstType const * pMemberType, AstScope* pScope)
diff --git a/idlc/inc/astservice.hxx b/idlc/inc/astservice.hxx
index 6bdcebb01768..4ad769cd5e70 100644
--- a/idlc/inc/astservice.hxx
+++ b/idlc/inc/astservice.hxx
@@ -22,7 +22,7 @@
#include "astdeclaration.hxx"
#include "astscope.hxx"
-class AstService : public AstDeclaration
+class AstService final : public AstDeclaration
, public AstScope
{
public:
diff --git a/idlc/inc/astservicemember.hxx b/idlc/inc/astservicemember.hxx
index e4c272545172..380449b25529 100644
--- a/idlc/inc/astservicemember.hxx
+++ b/idlc/inc/astservicemember.hxx
@@ -21,7 +21,7 @@
#include "astservice.hxx"
-class AstServiceMember : public AstDeclaration
+class AstServiceMember final : public AstDeclaration
{
public:
AstServiceMember(const sal_uInt32 flags, AstService* pRealService,
diff --git a/idlc/inc/aststructinstance.hxx b/idlc/inc/aststructinstance.hxx
index 877fcd249ed1..1357aa351970 100644
--- a/idlc/inc/aststructinstance.hxx
+++ b/idlc/inc/aststructinstance.hxx
@@ -25,7 +25,7 @@
class AstScope;
-class AstStructInstance: public AstType {
+class AstStructInstance final : public AstType {
public:
AstStructInstance(
AstType const * typeTemplate, DeclList const * typeArguments,
diff --git a/idlc/inc/asttypedef.hxx b/idlc/inc/asttypedef.hxx
index 6271893b87c0..427d63307ba6 100644
--- a/idlc/inc/asttypedef.hxx
+++ b/idlc/inc/asttypedef.hxx
@@ -21,7 +21,7 @@
#include "asttype.hxx"
-class AstTypeDef : public AstType
+class AstTypeDef final : public AstType
{
public:
AstTypeDef(