[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0f4839fb6e: Add consteval and constinit keywords to cc-mode
From: |
Lars Ingebrigtsen |
Subject: |
master 0f4839fb6e: Add consteval and constinit keywords to cc-mode |
Date: |
Wed, 14 Sep 2022 08:33:18 -0400 (EDT) |
branch: master
commit 0f4839fb6e17b193a67dcb089fb8ff15138a4129
Author: Evan Klitzke <evan@eklitzke.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Add consteval and constinit keywords to cc-mode
* lisp/progmodes/cc-langs.el (c-modifier-kwds): Add consteval and
constinit keywords (introduced in C++20) (bug#51092).
Copyright-paperwork-exempt: yes
---
lisp/progmodes/cc-langs.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 068b4a65b2..bf7eee2283 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -2594,8 +2594,8 @@ will be handled."
t nil
(c c++) '("extern" "inline" "register" "static")
c (append '("auto") (c-lang-const c-modifier-kwds))
- c++ (append '("constexpr" "explicit" "friend" "mutable" "template"
- "thread_local" "virtual")
+ c++ (append '("consteval" "constexpr" "constinit" "explicit"
+ "friend" "mutable" "template" "thread_local" "virtual")
;; "using" is now handled specially (2020-09-14).
(c-lang-const c-modifier-kwds))
objc '("auto" "bycopy" "byref" "extern" "in" "inout" "oneway" "out" "static")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0f4839fb6e: Add consteval and constinit keywords to cc-mode,
Lars Ingebrigtsen <=