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