diff options
author | Alan Mackenzie <acm@muc.de> | 2017-11-21 18:06:11 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2017-11-21 18:06:11 +0000 |
commit | 735c8b516e09ecd056563569fb132e5ca56810d7 (patch) | |
tree | a3365aea1cae4e504f6fde72a223d8942f9563b3 /build-aux/git-hooks | |
parent | 92f0c4cd56d4dc1a92c116172404e65996c5884d (diff) | |
download | emacs-735c8b516e09ecd056563569fb132e5ca56810d7.tar.gz |
Make c-defun-name analyze more thoroughly a function type which is a struct
This fixes bug #29293.
* lisp/progmodes/cc-cmds.el (c-defun-name): When a struct (etc.) type is
encountered, check whether it is the return type of a function rather than a
declaration of the struct itself. Similarly adapt the cond arm which deals
with functions properly to recognize struct return types.
Diffstat (limited to 'build-aux/git-hooks')
0 files changed, 0 insertions, 0 deletions