commit 968bc01aee341d76748480701764b2fba0689112 (HEAD -> consteval, evan/consteval) Author: Evan Klitzke Date: Thu Oct 7 17:47:25 2021 -0700 Add consteval and constinit keywords (introduced in C++20) diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 53f6206a82..8e68f044e8 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -2590,8 +2590,8 @@ c-modifier-kwds 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")