Function: semanticdb-table-sanity-check
semanticdb-table-sanity-check is an interactive and byte-compiled
function defined in db-debug.el.gz.
Signature
(semanticdb-table-sanity-check &optional TABLE)
Documentation
Validate the current semanticdb TABLE.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-debug.el.gz
(defun semanticdb-table-sanity-check (&optional table)
"Validate the current semanticdb TABLE."
(interactive)
(if (not table) (setq table semanticdb-current-table))
(let* ((full-filename (semanticdb-full-filename table))
(buff (find-buffer-visiting full-filename)))
(if buff
(with-current-buffer buff
(semantic-sanity-check))
;; We can't use the usual semantic validity check, so hack our own.
(semanticdb-table-oob-sanity-check (semanticdb-get-tags table)))))