mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 08:00:54 +00: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:
1 parent
153d92b390
commit
34f1a03f7b
21 files changed
+258
-229
No files matched your search
@@ -8,7 +8,8 @@
|
||||
|
||||
namespace Carbon {
|
||||
|
||||
auto MakeField(int line_num, std::string name, Expression* type) -> Member* {
|
||||
auto MakeField(int line_num, std::string name, const Expression* type)
|
||||
-> Member* {
|
||||
auto m = new Member();
|
||||
m->line_num = line_num;
|
||||
m->tag = MemberKind::FieldMember;
|
||||
|
||||
Reference in new issue
Block a user