Changeset eae8b37 for src/AST/Expr.cpp
- Timestamp:
- Dec 4, 2024, 10:17:49 PM (2 weeks ago)
- Branches:
- master
- Children:
- fc276f3
- Parents:
- 509ec82
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
r509ec82 reae8b37 123 123 bool VariableExpr::get_lvalue() const { 124 124 // It isn't always an lvalue, but it is never an rvalue. 125 if(dynamic_cast<const ast::EnumInstType *>(var->get_type())) return !var->isMember; 125 126 return true; 126 127 }
Note: See TracChangeset
for help on using the changeset viewer.