Basic constructor macro for expr-alignof structures.
(make-expr-alignof [:type <type>])
This is the usual way to construct expr-alignof structures. It simply conses together a structure with the specified fields.
This macro generates a new expr-alignof structure from scratch. See also change-expr-alignof, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-expr-alignof (&rest args) (std::make-aggregate 'expr-alignof args '((:type)) 'make-expr-alignof nil))
Function:
(defun expr-alignof (type) (declare (xargs :guard (tynamep type))) (declare (xargs :guard t)) (let ((__function__ 'expr-alignof)) (declare (ignorable __function__)) (b* ((type (mbe :logic (tyname-fix type) :exec type))) (cons :alignof (list type)))))