(vl-vardecl-svbad-warnings x warnings) → warnings
Function:
(defun vl-vardecl-svbad-warnings (x warnings) (declare (xargs :guard (and (vl-vardecl-p x) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-vardecl-svbad-warnings)) (declare (ignorable __function__)) (b* (((vl-vardecl x)) ((unless (vl-datatype-svbad-p x.type)) (ok))) (fatal :type :vl-warn-svbad-p :msg "~a0: type ~a1 looks like it will cause problems for SV." :args (list x x.type)))))
Theorem:
(defthm vl-warninglist-p-of-vl-vardecl-svbad-warnings (b* ((warnings (vl-vardecl-svbad-warnings x warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)