aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/Keywords.kwgen
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-02-08 17:18:13 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2023-02-09 13:19:53 +0000
commit207f2b216c5937c737f46bf2aacebaef93c3ffb3 (patch)
tree0532cad0e92a300fa48ae8755acf4e1d4145a0b8 /src/libs/3rdparty/cplusplus/Keywords.kwgen
parentbb9e49274526a9b37207497af4f39b22132fa08f (diff)
CPlusPlus: Add lexer support for new C++20 keywords
Change-Id: I2b83deb0502ebf2cdca2af774fbb2ce26e947c11 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Keywords.kwgen')
-rw-r--r--src/libs/3rdparty/cplusplus/Keywords.kwgen10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/Keywords.kwgen b/src/libs/3rdparty/cplusplus/Keywords.kwgen
index 36300a8776..70deeb648d 100644
--- a/src/libs/3rdparty/cplusplus/Keywords.kwgen
+++ b/src/libs/3rdparty/cplusplus/Keywords.kwgen
@@ -128,6 +128,16 @@ nullptr
static_assert
thread_local
+%pre-check=features.cxx20Enabled
+char8_t
+concept
+consteval
+constinit
+co_await
+co_return
+co_yield
+requires
+
%pre-check=features.qtKeywordsEnabled
emit
foreach