Function: c-forward-class-decl
c-forward-class-decl is a byte-compiled function defined in
cc-engine.el.gz.
Signature
(c-forward-class-decl)
Documentation
From the beginning of a struct/union, etc. move forward to after the brace block which defines it, leaving point at the start of the next token and returning point. On failure leave point unchanged and return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-forward-class-decl ()
"From the beginning of a struct/union, etc. move forward to
after the brace block which defines it, leaving point at the
start of the next token and returning point. On failure leave
point unchanged and return nil."
(let ((here (point)))
(if
(and
(looking-at c-class-key)
(eq (c-forward-token-2) 0)
(c-on-identifier)
(eq (c-forward-token-2) 0)
(eq (char-after) ?{)
(c-go-list-forward))
(progn
(c-forward-syntactic-ws)
(point))
(goto-char here)
nil)))