summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /idlc
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/idlc/astbasetype.hxx2
-rw-r--r--idlc/inc/idlc/astenum.hxx4
-rw-r--r--idlc/inc/idlc/astinterface.hxx2
-rw-r--r--idlc/inc/idlc/astmodule.hxx2
-rw-r--r--idlc/inc/idlc/astoperation.hxx2
-rw-r--r--idlc/inc/idlc/astsequence.hxx4
-rw-r--r--idlc/inc/idlc/astservice.hxx2
-rw-r--r--idlc/inc/idlc/aststruct.hxx4
-rw-r--r--idlc/inc/idlc/asttypedef.hxx4
9 files changed, 13 insertions, 13 deletions
diff --git a/idlc/inc/idlc/astbasetype.hxx b/idlc/inc/idlc/astbasetype.hxx
index a788a16189b8..08b21a358b5b 100644
--- a/idlc/inc/idlc/astbasetype.hxx
+++ b/idlc/inc/idlc/astbasetype.hxx
@@ -33,7 +33,7 @@ public:
virtual ~AstBaseType() {}
- virtual bool isUnsigned() const {
+ virtual bool isUnsigned() const SAL_OVERRIDE {
switch (m_exprType) {
case ET_ushort:
case ET_ulong:
diff --git a/idlc/inc/idlc/astenum.hxx b/idlc/inc/idlc/astenum.hxx
index d6d31a5ec668..716c2b57a096 100644
--- a/idlc/inc/idlc/astenum.hxx
+++ b/idlc/inc/idlc/astenum.hxx
@@ -38,9 +38,9 @@ public:
AstConstant* checkValue(AstExpression* pExpr);
- virtual bool dump(RegistryKey& rKey);
+ virtual bool dump(RegistryKey& rKey) SAL_OVERRIDE;
- virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
+ virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl) SAL_OVERRIDE;
private:
sal_Int32 m_enumValueCount;
};
diff --git a/idlc/inc/idlc/astinterface.hxx b/idlc/inc/idlc/astinterface.hxx
index e22cf61e296d..b2297296e08b 100644
--- a/idlc/inc/idlc/astinterface.hxx
+++ b/idlc/inc/idlc/astinterface.hxx
@@ -86,7 +86,7 @@ public:
void forwardDefined(AstInterface const & def);
- virtual bool dump(RegistryKey& rKey);
+ virtual bool dump(RegistryKey& rKey) SAL_OVERRIDE;
private:
enum InterfaceKind {
diff --git a/idlc/inc/idlc/astmodule.hxx b/idlc/inc/idlc/astmodule.hxx
index 1a1381a3a25f..edaa6f300c1c 100644
--- a/idlc/inc/idlc/astmodule.hxx
+++ b/idlc/inc/idlc/astmodule.hxx
@@ -36,7 +36,7 @@ public:
{}
virtual ~AstModule() {}
- virtual bool dump(RegistryKey& rKey);
+ virtual bool dump(RegistryKey& rKey) SAL_OVERRIDE;
};
#endif // _IDLC_ASTMODULE_HXX_
diff --git a/idlc/inc/idlc/astoperation.hxx b/idlc/inc/idlc/astoperation.hxx
index c5dbf10b3332..7d7a41c2a432 100644
--- a/idlc/inc/idlc/astoperation.hxx
+++ b/idlc/inc/idlc/astoperation.hxx
@@ -50,7 +50,7 @@ public:
bool dumpBlob(typereg::Writer & rBlob, sal_uInt16 index);
// scope management
- virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
+ virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl) SAL_OVERRIDE;
private:
AstType* m_pReturnType;
DeclList m_exceptions;
diff --git a/idlc/inc/idlc/astsequence.hxx b/idlc/inc/idlc/astsequence.hxx
index 622df5aaf4c6..3e62fc76cf6e 100644
--- a/idlc/inc/idlc/astsequence.hxx
+++ b/idlc/inc/idlc/astsequence.hxx
@@ -38,10 +38,10 @@ public:
AstType* getMemberType() const
{ return m_pMemberType; }
- virtual bool isUnsigned() const
+ virtual bool isUnsigned() const SAL_OVERRIDE
{ return m_pMemberType != 0 && m_pMemberType->isUnsigned(); }
- virtual const sal_Char* getRelativName() const;
+ virtual const sal_Char* getRelativName() const SAL_OVERRIDE;
private:
AstType* m_pMemberType;
mutable OString* m_pRelativName;
diff --git a/idlc/inc/idlc/astservice.hxx b/idlc/inc/idlc/astservice.hxx
index 1898b467fcc4..39caf8f9a3c2 100644
--- a/idlc/inc/idlc/astservice.hxx
+++ b/idlc/inc/idlc/astservice.hxx
@@ -40,7 +40,7 @@ public:
{}
virtual ~AstService() {}
- virtual bool dump(RegistryKey& rKey);
+ virtual bool dump(RegistryKey& rKey) SAL_OVERRIDE;
void setSingleInterfaceBasedService()
{ m_singleInterfaceBasedService = true; }
diff --git a/idlc/inc/idlc/aststruct.hxx b/idlc/inc/idlc/aststruct.hxx
index 61abf0382da8..0b89e203475e 100644
--- a/idlc/inc/idlc/aststruct.hxx
+++ b/idlc/inc/idlc/aststruct.hxx
@@ -49,9 +49,9 @@ public:
AstDeclaration const * findTypeParameter(OString const & name) const;
- virtual bool isType() const;
+ virtual bool isType() const SAL_OVERRIDE;
- virtual bool dump(RegistryKey& rKey);
+ virtual bool dump(RegistryKey& rKey) SAL_OVERRIDE;
private:
AstStruct const* m_pBaseType;
DeclList m_typeParameters;
diff --git a/idlc/inc/idlc/asttypedef.hxx b/idlc/inc/idlc/asttypedef.hxx
index a5266ba018cc..620932156f61 100644
--- a/idlc/inc/idlc/asttypedef.hxx
+++ b/idlc/inc/idlc/asttypedef.hxx
@@ -33,10 +33,10 @@ public:
AstType const * getBaseType() const
{ return m_pBaseType; }
- virtual bool isUnsigned() const
+ virtual bool isUnsigned() const SAL_OVERRIDE
{ return m_pBaseType != 0 && m_pBaseType->isUnsigned(); }
- virtual bool dump(RegistryKey& rKey);
+ virtual bool dump(RegistryKey& rKey) SAL_OVERRIDE;
private:
AstType const * m_pBaseType;
};