make use of C++ = default constructor declarations as well as more non-static member initialization syntax.

This commit is contained in:
Christian Parpart
2018-12-19 11:26:42 +01:00
parent d10bae245e
commit 62fe57479e
27 changed files with 51 additions and 65 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ protected:
m_context(_compilerContext), m_dataType(_dataType) {}
public:
virtual ~LValue() {}
virtual ~LValue() = default;
/// @returns the number of stack slots occupied by the lvalue reference
virtual unsigned sizeOnStack() const { return 1; }
/// Copies the value of the current lvalue to the top of the stack and, if @a _remove is true,