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