Basic constructor macro for expr-alignof structures.
(make-expr-alignof [:type <type>] [:uscores <uscores>])
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) (:uscores)) 'make-expr-alignof nil))
Function:
(defun expr-alignof (type uscores) (declare (xargs :guard (and (tynamep type) (keyword-uscores-p uscores)))) (declare (xargs :guard t)) (let ((__function__ 'expr-alignof)) (declare (ignorable __function__)) (b* ((type (mbe :logic (tyname-fix type) :exec type)) (uscores (mbe :logic (keyword-uscores-fix uscores) :exec uscores))) (cons :alignof (list type uscores)))))