-Wdeprecated-copy-dtor
Change-Id: Ia0875cc409779dd0c5479e314ccc8aae7abd4d94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109253 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -63,6 +63,11 @@ public:
|
|||||||
AstDeclaration(NodeType type, const OString& name, AstScope* pScope);
|
AstDeclaration(NodeType type, const OString& name, AstScope* pScope);
|
||||||
virtual ~AstDeclaration();
|
virtual ~AstDeclaration();
|
||||||
|
|
||||||
|
AstDeclaration(AstDeclaration const &) = default;
|
||||||
|
AstDeclaration(AstDeclaration &&) = default;
|
||||||
|
AstDeclaration & operator =(AstDeclaration const &) = default;
|
||||||
|
AstDeclaration & operator =(AstDeclaration &&) = default;
|
||||||
|
|
||||||
// Data access
|
// Data access
|
||||||
const OString& getLocalName() const
|
const OString& getLocalName() const
|
||||||
{ return m_localName; }
|
{ return m_localName; }
|
||||||
|
@@ -49,6 +49,11 @@ public:
|
|||||||
AstScope* pScope);
|
AstScope* pScope);
|
||||||
virtual ~AstInterface() override;
|
virtual ~AstInterface() override;
|
||||||
|
|
||||||
|
AstInterface(AstInterface const &) = default;
|
||||||
|
AstInterface(AstInterface &&) = default;
|
||||||
|
AstInterface & operator =(AstInterface const &) = default;
|
||||||
|
AstInterface & operator =(AstInterface &&) = default;
|
||||||
|
|
||||||
InheritedInterfaces const & getAllInheritedInterfaces() const
|
InheritedInterfaces const & getAllInheritedInterfaces() const
|
||||||
{ return m_inheritedInterfaces; }
|
{ return m_inheritedInterfaces; }
|
||||||
|
|
||||||
|
@@ -35,6 +35,11 @@ public:
|
|||||||
AstScope(NodeType nodeType);
|
AstScope(NodeType nodeType);
|
||||||
virtual ~AstScope();
|
virtual ~AstScope();
|
||||||
|
|
||||||
|
AstScope(AstScope const&) = default;
|
||||||
|
AstScope(AstScope&&) = default;
|
||||||
|
AstScope& operator=(AstScope const&) = default;
|
||||||
|
AstScope& operator=(AstScope&&) = default;
|
||||||
|
|
||||||
NodeType getScopeNodeType() const { return m_nodeType; }
|
NodeType getScopeNodeType() const { return m_nodeType; }
|
||||||
|
|
||||||
AstDeclaration* addDeclaration(AstDeclaration* pDecl);
|
AstDeclaration* addDeclaration(AstDeclaration* pDecl);
|
||||||
|
Reference in New Issue
Block a user