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