Function: c-c++-vsemi-p
c-c++-vsemi-p is a byte-compiled function defined in cc-engine.el.gz.
Signature
(c-c++-vsemi-p &optional POS)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-c++-vsemi-p (&optional pos)
;; C++ Only - Is there a "virtual semicolon" at POS or point?
;; (See cc-defs.el for full details of "virtual semicolons".)
;;
;; This is true when point is at the last non syntactic WS position on the
;; line, and either there is a "macro with semicolon" just before it (see
;; `c-at-macro-vsemi-p') or there is a "requires" clause which ends there.
(let (res)
(cond
((setq res (c-in-requires-or-at-end-of-clause pos))
(and res (eq (cdr res) t)))
((c-at-macro-vsemi-p)))))