diff options
author | Richard Eames | 2015-01-23 02:10:37 +0000 |
---|---|---|
committer | Sergey Prigogin | 2015-07-07 04:38:55 +0000 |
commit | 795c418f1079c4d78cc78e26880181fa6c8f5ed7 (patch) | |
tree | a465a8f927a74bd011f7aebc8b21b717f9b4fd96 /qt | |
parent | b49fa6788297f923b097121d0894de3e80cefaf8 (diff) | |
download | org.eclipse.cdt-795c418f1079c4d78cc78e26880181fa6c8f5ed7.tar.gz org.eclipse.cdt-795c418f1079c4d78cc78e26880181fa6c8f5ed7.tar.xz org.eclipse.cdt-795c418f1079c4d78cc78e26880181fa6c8f5ed7.zip |
Bug 379684 Support for User Defined Literals
This patch adds preliminary support for C++11 user defined literals:
* Syntax support
* Type deduction in expressions
* Template literal operators
* String literal concatenation
Change-Id: I8a9760036a2c8428295f0e1ffb4b519a0a2577c9
Signed-off-by: Richard Eames <eclipse@naddiseo.ca>
Diffstat (limited to 'qt')
-rw-r--r-- | qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/parser/StringScanner.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/parser/StringScanner.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/parser/StringScanner.java index b1372de836d..58404b14302 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/parser/StringScanner.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/parser/StringScanner.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2013 QNX Software Systems and others. + * Copyright (c) 2013, 2015 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -116,4 +116,9 @@ public class StringScanner implements IScanner { @Deprecated public void setScanComments(boolean val) { } + + @Override + public char[] getAdditionalNumericLiteralSuffixes() { + return new char[] {}; + } } |