Changes in src/Parser/ExpressionNode.cc [db70fe4:513e165]
- File:
-
- 1 edited
-
src/Parser/ExpressionNode.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ExpressionNode.cc
rdb70fe4 r513e165 10 10 // Created On : Sat May 16 13:17:07 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Sep 14 23:09:34201713 // Update Count : 6 9012 // Last Modified On : Wed Sep 13 14:54:19 2017 13 // Update Count : 683 14 14 // 15 15 … … 363 363 } // build_pfieldSel 364 364 365 Expression * build_addressOf( ExpressionNode * expr_node ) { 366 return new AddressExpr( maybeMoveBuild< Expression >(expr_node) ); 367 } // build_addressOf 368 369 Expression * build_sizeOfexpr( ExpressionNode * expr_node ) { 370 return new SizeofExpr( maybeMoveBuild< Expression >(expr_node) ); 371 } // build_sizeOfexpr 372 373 Expression * build_sizeOftype( DeclarationNode * decl_node ) { 374 return new SizeofExpr( maybeMoveBuildType( decl_node ) ); 375 } // build_sizeOftype 376 377 Expression * build_alignOfexpr( ExpressionNode * expr_node ) { 378 return new AlignofExpr( maybeMoveBuild< Expression >(expr_node) ); 379 } // build_alignOfexpr 380 381 Expression * build_alignOftype( DeclarationNode * decl_node ) { 382 return new AlignofExpr( maybeMoveBuildType( decl_node) ); 383 } // build_alignOftype 384 365 385 Expression * build_offsetOf( DeclarationNode * decl_node, NameExpr * member ) { 366 386 Expression * ret = new UntypedOffsetofExpr( maybeMoveBuildType( decl_node ), member->get_name() ); … … 403 423 } // build_cond 404 424 425 Expression * build_attrexpr( NameExpr * var, ExpressionNode * expr_node ) { 426 return new AttrExpr( var, maybeMoveBuild< Expression >(expr_node) ); 427 } // build_attrexpr 428 429 Expression * build_attrtype( NameExpr * var, DeclarationNode * decl_node ) { 430 return new AttrExpr( var, maybeMoveBuildType( decl_node ) ); 431 } // build_attrtype 432 405 433 Expression * build_tuple( ExpressionNode * expr_node ) { 406 434 list< Expression * > exprs; … … 414 442 return new UntypedExpr( maybeMoveBuild< Expression >(function), args, nullptr ); 415 443 } // build_func 444 445 Expression * build_range( ExpressionNode * low, ExpressionNode * high ) { 446 return new RangeExpr( maybeMoveBuild< Expression >( low ), maybeMoveBuild< Expression >( high ) ); 447 } // build_range 416 448 417 449 Expression * build_compoundLiteral( DeclarationNode * decl_node, InitializerNode * kids ) {
Note:
See TracChangeset
for help on using the changeset viewer.