commit | 3637a4d41d9dd1669d92127212fb4822a315ab76 | [log] [tgz] |
---|---|---|
author | Christopher Wiley <wiley@google.com> | Tue Sep 22 15:37:59 2015 -0700 |
committer | Christopher Wiley <wiley@google.com> | Wed Sep 23 15:48:22 2015 -0700 |
tree | 99e0a3064d9b46de407c5df64104058e8589b63d | |
parent | 775fa1f7db4626b85e5185149b054821fc605c2b [diff] [blame] |
Make all possible Type methods const While here, mark inherited virtual methods as override methods. Bug: 24303749 Test: Compiles, unittests Change-Id: Ia7114b53e243b8539a6c84e1b96bb68fee5281cd
diff --git a/ast_java.cpp b/ast_java.cpp index e94ebfb..8a4b64e 100644 --- a/ast_java.cpp +++ b/ast_java.cpp
@@ -284,7 +284,7 @@ { } -Assignment::Assignment(Variable* l, Expression* r, Type* c) +Assignment::Assignment(Variable* l, Expression* r, const Type* c) :lvalue(l), rvalue(r), cast(c)