mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 20:58:15 +00:00
1 parent
e619d3d632
commit
c903eb3133
6 files changed
+69
-5
No files matched your search
@@ -272,7 +272,7 @@ auto Value::MakeStructTypeVal(std::string name, VarValues* fields,
|
||||
return v;
|
||||
}
|
||||
|
||||
auto Value::MakeVoidTypeVal() -> const Value* {
|
||||
auto Value::MakeUnitTypeVal() -> const Value* {
|
||||
auto* v = new Value();
|
||||
v->tag = ValKind::TupleV;
|
||||
v->u.tuple.elements = new std::vector<TupleElement>();
|
||||
|
||||
Reference in new issue
Block a user