Recognizer for vl-location structures.
(vl-location-p x) → *
Function:
(defun vl-location-p$inline (x) (declare (xargs :guard t)) (let ((__function__ 'vl-location-p)) (declare (ignorable __function__)) (and (consp x) (consp (cdr x)) (eq (cadr x) :vl-location) (vl-linecol-p (car x)) (stringp (cddr x)))))
Theorem:
(defthm consp-when-vl-location-p (implies (vl-location-p x) (consp x)) :rule-classes :compound-recognizer)