1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00
Commit graph

189 commits

Author SHA1 Message Date
Richard Eames
795c418f10 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>
2015-07-07 00:38:55 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Sergey Prigogin
e27ca67746 Improved robustness of global scope handling.
Change-Id: Id0222766e8c5e258f866f9a4c8b3307a06bdf4c7
2015-06-09 11:58:47 -07:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Marc Khouzam
4781f20495 Move some leftover plugins from Java 5 to Java 7.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 13:42:20 -04:00
Marc Khouzam
a04d64606e Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:39:17 -04:00
Marc Khouzam
87a29d31aa Add many missing @Override to remove warnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:18:06 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Nathan Ridge
fd11d42d89 Bug 452416 - Move takesVarArgs() up from ICPPFunctionType to
IFunctionType

Change-Id: Ifd0cf6c4ca026587f2bbccfbc3d7f849c95b92de
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 16:44:05 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Marc Khouzam
6004528ff6 Update to new CDT Logo
Change-Id: Iac76b204027efa01c8f848050a36d05022ecdf86
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38363
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-12-16 13:29:12 -05:00
Sergey Prigogin
14bd577ad2 Automatically add appropriate #include statements in index tests. 2014-11-21 14:42:39 -08:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Thomas Corbat
4f239a093a Cosmetics and refactoring related to commits of bug 84144
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-10 09:28:20 +02:00
qdagans
8649b65570 Bug 84144 - [Parser2] GCC: labels as values
Add support for GNU goto label references.

"http://gcc.gnu.org/onlinedocs/gcc-3.3.2/gcc/Labels-as-Values.html#Labels%20as%20Values
GCC extensions to C allow taking the address of labels. These addresses can be used in a goto statement where any expression of type void * is allowed:

foo:
  void* labelPtr = &&foo;
  goto *labelPtr;", comment from Andrew Niefer

Add new classes and necessary changes in existing classes to support the above.

Change-Id: I60b64957af3fdfd5463e89c2a36eea13bd280887
Signed-off-by: qdagans <anders.xb.dahlberg@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28826
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-05 20:34:13 -04:00
Sergey Prigogin
79a2087bfd Revert "Bug 379684 Support for User Defined Literals"
This reverts commit f5942dac81.
2014-04-12 10:49:35 -07:00
Richard Eames
f5942dac81 Bug 379684 Support for User Defined Literals
This patch adds preliminary support for C++11 user defined litrals:
* Syntax support
* Type deduction in expressions
* Template literal operators
* String literal concatenation

I made quite a few changes in CPPASTLiteralExpression so that it more
closely follows the spec when parsing numbers. And I'd like some
feedback on the changes I made to CPPSemantics with regards to 
template literal operators.

There are also some questions I have marked in comments, which I would
appreciate an answer to.

Change-Id: I242ecb8f5706f516a4c891fea268a668e5e4a694
Signed-off-by: Richard Eames <eclipse@naddiseo.ca>
Reviewed-on: https://git.eclipse.org/r/24367
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-12 12:47:34 -04:00
Sergey Prigogin
f5238bf93f Reduced use of deprecated types and methods. 2014-03-06 15:15:19 -08:00
Sergey Prigogin
1d166260a8 Bumped up CDT version to 8.4.
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Nathan Ridge
e9d295e1a6 Bug 380751 - Members of decltype types cannot be used
Change-Id: Ie6113d44647a222e063ab2ab27f3dc9d994f98fc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15451
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-05 20:01:24 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Nathan Ridge
c3470476a0 Bug 389009 - Enumerator with dependent value
Change-Id: I4fc077870419bccd6dce15c33a0d455e8379d7e0
Reviewed-on: https://git.eclipse.org/r/10092
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-02-05 13:09:29 -05:00
Sergey Prigogin
2a96dbfc19 Cosmetics. 2013-02-02 17:01:20 -08:00
Vivian Kong
03a3b41095 Bug 388243 - [LR parser] ICPPASTConstructorInitializer offsets did not
include parentheses
2012-09-10 15:47:57 -04:00
Sergey Prigogin
3be412111c Bumped up feature versions for Kepler. 2012-06-28 11:08:11 -07:00
Markus Schorn
ea53c271c9 Bug 299911: Introduce ICPPEvaluation 2012-06-26 07:04:50 +02:00
Vivian Kong
6cf930a564 Bug 378189 - LR parser mistaken for-loop initializer as a declaration 2012-05-02 11:53:17 -04:00
Sergey Prigogin
20ea7546f8 Bug 316076. Added IFunction.isNoReturn() method.
Change-Id: Idfa2aa067e9c956b9a990980797a41277a84cc58
Reviewed-on: https://git.eclipse.org/r/5584
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-13 14:49:12 -04:00
Sergey Prigogin
e726c3d217 Cosmetics. 2012-04-10 15:25:47 -07:00
Sergey Prigogin
723ed9f912 Cosmetics. 2012-03-13 17:55:31 -07:00
Sergey Prigogin
b62f1b0e6a toString methods and @Overide annotations. 2011-12-09 11:04:08 -08:00
Markus Schorn
939ab1508d Bug 360541: Ambiguity resolution for declaration statements. 2011-10-31 17:05:55 +01:00
Sergey Prigogin
09967ad791 Version number changes missed in the previous commit. 2011-10-19 20:53:44 -07:00
Sergey Prigogin
2932f9122c Updated parent feature version in pom.xml files. 2011-10-19 19:32:07 -07:00
Doug Schaefer
d7092b12c9 Mavenizing CDT releng.
Also removed unsupported cdt.core fragments from the platform feature.
2011-06-28 05:21:58 -04:00
Vivian Kong
3806bba6bc Bug 328867 patch by John Liu, update plugin/feature versions 2011-02-07 17:14:05 +00:00
Vivian Kong
3bb812c2c1 Bug 328867 for John Liu 2011-02-03 15:07:11 +00:00
Chris Recoskie
ed2d483f12 Bug 324150 - LR Parser's action class CPPBuildASTParserAction throws UnsupportedOperationException by its function consumeDeclarationSimple. 2010-09-01 13:41:49 +00:00
Markus Schorn
c31e996fc2 Bug 323723: Reduce usage of DOMExceptions. 2010-08-27 09:01:29 +00:00
Vivian Kong
8951c5d12b Bug 322426 Add copy implementation to CPPASTAmbiguousTemplateArgument class for John Liu 2010-08-11 21:09:24 +00:00
Vivian Kong
95e00954fb Bug 315826 Update LR Parser for the template arguments rules - patch by John Liu 2010-08-09 17:59:41 +00:00
Vivian Kong
67dfed0280 Bug 315826 Update LR Parser for the template arguments rules - patch by John Liu 2010-08-09 17:50:49 +00:00
Mike Kucera
61ce9c0dcd Bug 318011 - Invalid project name in org.eclipse.cdt.core.lrparser .project 2010-08-06 01:28:31 +00:00
Doug Schaefer
7b8cac960e Prettier 32x32 icon. 2010-06-04 14:24:50 +00:00
Doug Schaefer
4b1e0cd637 Fixed up branding plug-ins. 2010-06-04 01:18:33 +00:00
Vivian Kong
9a346521e2 Bug 315439 Fix up copyright 2010-06-03 16:48:25 +00:00
Doug Schaefer
4d79947e9c New CDT Icon. 2010-06-03 15:20:43 +00:00
Vivian Kong
0890f7c49e Bug 315435 Fix the regression test failures in cdt70 2010-06-02 19:35:43 +00:00
Vivian Kong
ce9eb6b7d6 update copyright in about and update provider info 2010-05-31 20:40:20 +00:00
Vivian Kong
1b93077911 Bug 312658 - Some c/c++ syntax cause content assist hanging, such as try-catch and do-while(head stream) - fix by John Liu 2010-05-12 17:19:17 +00:00