summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/check-declare.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2018-08-26 11:05:22 +0000
committerAlan Mackenzie <acm@muc.de>2018-08-26 11:05:22 +0000
commit5c642b2dc1b666ae488225b76251750a8cf331be (patch)
tree9a431d2db895d6059fe4b29fdaf9edeefe939230 /lisp/emacs-lisp/check-declare.el
parent0edf60583245cc6f3fd53ddae2f21748a4a1b239 (diff)
downloademacs-5c642b2dc1b666ae488225b76251750a8cf331be.tar.gz
emacs-5c642b2dc1b666ae488225b76251750a8cf331be.tar.bz2
emacs-5c642b2dc1b666ae488225b76251750a8cf331be.zip
CC Mode: make c-display-defun-name work with a pointer return type.
Fixes bug #32403. * lisp/progmodes/cc-cmds.el (c-in-function-trailer-p): No longer insist on c-beginning-of-decl-1 returning 'same. (c-where-wrt-brace-construct): Tighten up the test for looking at a symbol by excluding keywords. When point is after a }, do not return 'at-function-end for a struct/union/class/... (c-defun-name-1): Considerably simplify, by amalgamating the two cond arms which find structs etc., and by using functions like c-forward-declarator rather than the faulty analysis of the source by hand.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions