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