From 9caeccbb0ddd0139f4b8d809c59c5052f6dd53ee Mon Sep 17 00:00:00 2001
From: Leandro Melo <leandro.melo@nokia.com>
Date: Fri, 18 Nov 2011 14:03:42 +0100
Subject: [PATCH] C++: Add names for tokens constexpr and nullptr

Actually, those should have gone in the previous corresponding
commits which introduced support for the keywords.

Change-Id: Ie95944899c426a2c2b03e60d1ad557e00bc3a82a
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
---
 src/libs/3rdparty/cplusplus/Token.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libs/3rdparty/cplusplus/Token.cpp b/src/libs/3rdparty/cplusplus/Token.cpp
index 23d4e41ae2b..6ae8446bac9 100644
--- a/src/libs/3rdparty/cplusplus/Token.cpp
+++ b/src/libs/3rdparty/cplusplus/Token.cpp
@@ -41,11 +41,11 @@ static const char *token_names[] = {
     ("]"), (")"), (";"), ("*"), ("*="), ("~"), ("~="),
 
     ("asm"), ("auto"), ("bool"), ("break"), ("case"), ("catch"), ("char"),
-    ("class"), ("const"), ("const_cast"), ("continue"), ("default"),
+    ("class"), ("const"), ("const_cast"), ("constexpr"), ("continue"), ("default"),
     ("delete"), ("do"), ("double"), ("dynamic_cast"), ("else"), ("enum"),
     ("explicit"), ("export"), ("extern"), ("false"), ("float"), ("for"),
     ("friend"), ("goto"), ("if"), ("inline"), ("int"), ("long"),
-    ("mutable"), ("namespace"), ("new"), ("operator"), ("private"),
+    ("mutable"), ("namespace"), ("new"), ("nullptr"), ("operator"), ("private"),
     ("protected"), ("public"), ("register"), ("reinterpret_cast"),
     ("return"), ("short"), ("signed"), ("sizeof"), ("static"),
     ("static_cast"), ("struct"), ("switch"), ("template"), ("this"),
-- 
GitLab