C++: Introduce unicode char/strings support
author Leandro Melo
()
committer hjk
()
commit 23c637c4f677ab2f19793f409297b0131b21dcaa
tree c940f0eddbc83bfc5ba3ee9e39c3833f45729cde
parent b88a5f5d381b4279f6aa93e1400d78d910f1ed15
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 <qthjk@ovi.com>
17 files changed:
src/libs/3rdparty/cplusplus/Bind.cpp
src/libs/3rdparty/cplusplus/CoreTypes.h
src/libs/3rdparty/cplusplus/Keywords.cpp
src/libs/3rdparty/cplusplus/Lexer.cpp
src/libs/3rdparty/cplusplus/Lexer.h
src/libs/3rdparty/cplusplus/Parser.cpp
src/libs/3rdparty/cplusplus/Token.cpp
src/libs/3rdparty/cplusplus/Token.h
src/libs/3rdparty/cplusplus/TranslationUnit.cpp
src/libs/cplusplus/MatchingText.cpp
src/libs/cplusplus/ResolveExpression.cpp
src/libs/cplusplus/TypePrettyPrinter.cpp
src/plugins/cppeditor/cppautocompleter.cpp
src/plugins/cppeditor/cppfunctiondecldeflink.cpp
src/plugins/cppeditor/cpphighlighter.cpp
src/plugins/cpptools/cppcodeformatter.cpp
src/plugins/glsleditor/glslautocompleter.cpp