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