Changeset 496ffc17 for src/Validate/ReplacePseudoFunc.cpp
- Timestamp:
- Feb 1, 2024, 5:05:54 PM (5 months ago)
- Branches:
- master
- Children:
- 9ddcee1
- Parents:
- 32490deb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ReplacePseudoFunc.cpp
r32490deb r496ffc17 128 128 location, ast::ConstantExpr::from_string(location, mem->name))); 129 129 } 130 // Values only131 130 if (queryValues.count(enumDecl->name)) { 132 131 auto init = new ast::ListInit(location, std::move(inits)); … … 166 165 auto untyped = new ast::UntypedExpr( 167 166 location, new ast::NameExpr(location, "?[?]"), 168 { new ast::VariableExpr(*arrAsVar), new ast::VariableExpr(*arg)});167 { std::move(arrAsVar), std::move(arg) }); 169 168 auto typedResult = ResolvExpr::findVoidExpression(untyped, context); 170 169
Note: See TracChangeset
for help on using the changeset viewer.