mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 22:02:51 +01:00
change all expression and statement pointers to be const (#449)
* change all expression and statement pointers to be const * const in paren tests
This commit is contained in:
@@ -63,7 +63,7 @@ auto MakeBoolVal(bool b) -> const Value* {
|
||||
return v;
|
||||
}
|
||||
|
||||
auto MakeFunVal(std::string name, const Value* param, Statement* body)
|
||||
auto MakeFunVal(std::string name, const Value* param, const Statement* body)
|
||||
-> const Value* {
|
||||
auto* v = new Value();
|
||||
v->tag = ValKind::FunV;
|
||||
|
||||
Reference in New Issue
Block a user