]> git.eshelyaron.com Git - emacs.git/commit
C++ Mode: Handle new keywords static_cast, etc., wrt angle brackets
authorAlan Mackenzie <acm@muc.de>
Sun, 27 Jun 2021 12:59:18 +0000 (12:59 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 27 Jun 2021 12:59:18 +0000 (12:59 +0000)
commitef5f3d5ee7211430e5af4952042a0bebdcbc27ff
tree887d7d11a2c0d7698d7b9a253bff4d1105d60fb9
parent7722b510aae119162a20cfc67d3057152835a4ba
C++ Mode: Handle new keywords static_cast, etc., wrt angle brackets

* lisp/progmodes/cc-langs.el (c-<>-arglist-kwds): Add const_cast,
dynamic_cast, reinterpret_cast and static_cast into this lang const.

* lisp/progmodes/cc-engine.el (c-clear-<-pair-props, c-clear->-pair-props)
(c-clear-<-pair-props-if-match-after, c-clear->-pair-props-if-match-before)
(c-forward-<>-arglist-recur):
Invalidate caches with c-trunctate-lit-pos-cache.
(c-forward-<>-arglist-recur): If in a matching <...> expression, the < has a
syntax-table property, but the > not, remove that property.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el