Changeset fa2c005 for src/Validate/EliminateTypedef.cpp
- Timestamp:
- Jun 8, 2023, 3:19:43 PM (3 years ago)
- Branches:
- ADT
- Parents:
- 044ae62
- File:
-
- 1 edited
-
src/Validate/EliminateTypedef.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/EliminateTypedef.cpp
r044ae62 rfa2c005 31 31 ast::StructDecl const * previsit( ast::StructDecl const * decl ); 32 32 ast::UnionDecl const * previsit( ast::UnionDecl const * decl ); 33 ast::AdtDecl const * previsit( ast::AdtDecl const * decl ); 33 34 // Remove typedefs from statement lists. 34 35 ast::CompoundStmt const * previsit( ast::CompoundStmt const * stmt ); … … 65 66 } 66 67 68 ast::AdtDecl const * EliminateTypedefCore::previsit( ast::AdtDecl const * decl ) { 69 return field_erase_if( decl, &ast::AdtDecl::members, isTypedef ); 70 } 71 67 72 ast::CompoundStmt const * EliminateTypedefCore::previsit( ast::CompoundStmt const * stmt ) { 68 73 return field_erase_if( stmt, &ast::CompoundStmt::kids, isTypedefStmt );
Note:
See TracChangeset
for help on using the changeset viewer.