Modifying constructor for vl-blockstmt structures.
(change-vl-blockstmt x
[:blocktype <blocktype>]
[:stmts <stmts>]
[:name <name>]
[:atts <atts>]
[:vardecls <vardecls>]
[:paramdecls <paramdecls>]
[:typedefs <typedefs>]
[:imports <imports>]
[:loaditems <loaditems>])
This is an often useful alternative to make-vl-blockstmt.
We construct a new vl-blockstmt structure that is a copy of
This is an ordinary
Macro:
(defmacro change-vl-blockstmt (x &rest args) (std::change-aggregate 'vl-blockstmt x args '((:blocktype . vl-blockstmt->blocktype) (:stmts . vl-blockstmt->stmts) (:name . vl-blockstmt->name) (:atts . vl-blockstmt->atts) (:vardecls . vl-blockstmt->vardecls) (:paramdecls . vl-blockstmt->paramdecls) (:typedefs . vl-blockstmt->typedefs) (:imports . vl-blockstmt->imports) (:loaditems . vl-blockstmt->loaditems)) 'change-vl-blockstmt 'remake-vl-blockstmt))