Mark a lot of functions const (where possible)

This commit is contained in:
Alex Beregszaszi
2017-08-22 10:51:46 +01:00
parent c94b1f8173
commit e2cfc9ee92
18 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ public:
m_errorReporter(m_errorList) {}
/// @returns the list of errors that occured during parsing and type checking.
ErrorList const& errors() { return m_errorReporter.errors(); }
ErrorList const& errors() const { return m_errorReporter.errors(); }
/// @returns the current state.
State state() const { return m_stackState; }