Changeset 265e460 for src/GenPoly/Lvalue.h
- Timestamp:
- Oct 8, 2022, 9:43:21 AM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- b2ddaf3
- Parents:
- 815943f (diff), d8c96a9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Lvalue.h
r815943f r265e460 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sat Jul 22 09:21:59 201713 // Update Count : 211 // Last Modified By : Andrew Beach 12 // Last Modified On : Thu Sep 15 14:13:00 2022 13 // Update Count : 3 14 14 // 15 15 … … 20 20 class Declaration; 21 21 class Expression; 22 namespace ast { 23 class Expr; 24 class TranslationUnit; 25 } 22 26 23 27 namespace GenPoly { 24 28 /// replaces return type of `lvalue T` with `T*`, along with appropriate address-of and dereference operators 25 29 void convertLvalue( std::list< Declaration* >& translationUnit ); 30 void convertLvalue( ast::TranslationUnit & translationUnit ); 26 31 27 32 /// true after reference types have been eliminated from the source code. After this point, reference types should not be added to the AST. … … 30 35 /// applies transformations that allow GCC to accept more complicated lvalue expressions, e.g. &(a, b) 31 36 Expression * generalizedLvalue( Expression * expr ); 37 ast::Expr const * generalizedLvalue( ast::Expr const * expr ); 32 38 } // namespace GenPoly 33 39
Note:
See TracChangeset
for help on using the changeset viewer.