-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:
parent
327cd7c961
commit
de80c787db
@ -63,6 +63,11 @@ public:
|
||||
AstDeclaration(NodeType type, const OString& name, AstScope* pScope);
|
||||
virtual ~AstDeclaration();
|
||||
|
||||
AstDeclaration(AstDeclaration const &) = default;
|
||||
AstDeclaration(AstDeclaration &&) = default;
|
||||
AstDeclaration & operator =(AstDeclaration const &) = default;
|
||||
AstDeclaration & operator =(AstDeclaration &&) = default;
|
||||
|
||||
// Data access
|
||||
const OString& getLocalName() const
|
||||
{ return m_localName; }
|
||||
|
@ -49,6 +49,11 @@ public:
|
||||
AstScope* pScope);
|
||||
virtual ~AstInterface() override;
|
||||
|
||||
AstInterface(AstInterface const &) = default;
|
||||
AstInterface(AstInterface &&) = default;
|
||||
AstInterface & operator =(AstInterface const &) = default;
|
||||
AstInterface & operator =(AstInterface &&) = default;
|
||||
|
||||
InheritedInterfaces const & getAllInheritedInterfaces() const
|
||||
{ return m_inheritedInterfaces; }
|
||||
|
||||
|
@ -35,6 +35,11 @@ public:
|
||||
AstScope(NodeType nodeType);
|
||||
virtual ~AstScope();
|
||||
|
||||
AstScope(AstScope const&) = default;
|
||||
AstScope(AstScope&&) = default;
|
||||
AstScope& operator=(AstScope const&) = default;
|
||||
AstScope& operator=(AstScope&&) = default;
|
||||
|
||||
NodeType getScopeNodeType() const { return m_nodeType; }
|
||||
|
||||
AstDeclaration* addDeclaration(AstDeclaration* pDecl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user