From 23c637c4f677ab2f19793f409297b0131b21dcaa Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Wed, 6 Jun 2012 13:41:22 +0200 Subject: C++: Introduce unicode char/strings support Those are the types char16_t and char32_t along with the new char/string literals u'', U'', u"", u8"", and U"". This is particularly important for the use of QStringLiteral since in some platforms it relies on expansion such as above. Note: The string literals quickfixes still need some tunning. Task-number: QTCREATORBUG-7449 Change-Id: Iebcfea15677dc8e0ebb6143def89a5477e1be7d4 Reviewed-by: hjk --- src/plugins/cpptools/cppcodeformatter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/cpptools/cppcodeformatter.cpp') diff --git a/src/plugins/cpptools/cppcodeformatter.cpp b/src/plugins/cpptools/cppcodeformatter.cpp index be10cab616..4e4d3a2629 100644 --- a/src/plugins/cpptools/cppcodeformatter.cpp +++ b/src/plugins/cpptools/cppcodeformatter.cpp @@ -851,6 +851,8 @@ bool CodeFormatter::tryDeclaration() } // fallthrough case T_CHAR: + case T_CHAR16_T: + case T_CHAR32_T: case T_WCHAR_T: case T_BOOL: case T_SHORT: -- cgit v1.2.1