]> git.eshelyaron.com Git - emacs.git/commit
Handle C++17's constexpr keyword in if statements
authorAlan Mackenzie <acm@muc.de>
Wed, 28 Mar 2018 19:39:30 +0000 (19:39 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 28 Mar 2018 19:39:30 +0000 (19:39 +0000)
commitb61b3c804cb7c1348097ccef18d26fa4bdd37117
treeea1418ebe8bb19941cddff694af29e9b40f22022
parent3ccbe1f43f8c73b5dbf7051b91cd850959f2a79f
Handle C++17's constexpr keyword in if statements

* lisp/progmodes/cc-engine.el (c-after-conditional): Test for matches to
c-block-stmt-hangon-key.

* lisp/progmodes/cc-langs.el (c-block-stmt-hangon-kwds): New lang const.
(c-block-stmt-hangon-key): New lang const/var matching any element of the
above.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el