Get the filename from a vl-location.
(vl-location->filename x) → filename
Function:
(defun vl-location->filename$inline (x) (declare (xargs :guard (vl-location-p x))) (let ((__function__ 'vl-location->filename)) (declare (ignorable __function__)) (cddr (vl-location-fix x))))
Theorem:
(defthm stringp-of-vl-location->filename (b* ((filename (vl-location->filename$inline x))) (stringp filename)) :rule-classes :type-prescription)
Theorem:
(defthm vl-location->filename-of-vl-location (equal (vl-location->filename (vl-location filename line col)) (str-fix filename)))