Changes in src/GenPoly/Box.cpp [82a5ea2:b6f2e7ab]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cpp
r82a5ea2 rb6f2e7ab 1925 1925 ast::Expr const * PolyGenericCalculator::postvisit( 1926 1926 ast::SizeofExpr const * expr ) { 1927 ast::Type const * type = expr->type ? expr->type : expr->expr->result; 1928 ast::Expr const * gen = genSizeof( expr->location, type ); 1927 ast::Expr const * gen = genSizeof( expr->location, expr->type ); 1929 1928 return ( gen ) ? gen : expr; 1930 1929 } … … 1932 1931 ast::Expr const * PolyGenericCalculator::postvisit( 1933 1932 ast::AlignofExpr const * expr ) { 1934 ast::Type const * type = expr->type ? expr->type : expr->expr->result; 1935 ast::Expr const * gen = genAlignof( expr->location, type ); 1933 ast::Expr const * gen = genAlignof( expr->location, expr->type ); 1936 1934 return ( gen ) ? gen : expr; 1937 1935 }
Note: See TracChangeset
for help on using the changeset viewer.