Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-10-28[releng] Cleanup code that has been misformatted and update to SDK 4.13Jonah Graham1-1/+1
The check-code-cleanliness CI jobs have not been running recently, so this commit is to the code up to those minor changes Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
2019-10-10Generify Class.Alexander Kurtakov1-6/+5
Change-Id: I065b4f7c1559a141ebf2e0c82e896557a7cfc05f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-04Bug 360919 - [MSVC] preprocessor symbol __STDC__ always definedMarc-Andre Laperle1-0/+1
Move the __STDC__ macro to the scanner configuration extension, where we can differentiate compiler type. Only add it when compiler type is not MSVC. This will miss the case where MSVC is compiling in C mode and /Za is used, then __STDC__ should be defined but this is a much less common case and would be addressed likely outside scanner configuration. See also https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros Change-Id: Icc5d3ef038fb468efe33802a04fc78fc1e5e583e Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-08-10Remove redundant superinterfaces. Alexander Kurtakov10-30/+20
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-22Bug 540373: Cleanup: Remove redundant semicolonsJonah Graham14-312/+312
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant semicolons and completing the wizard Change-Id: I3d3175cfdfadec4f815c551d486e42c9f57b80ce
2018-11-22Bug 540373: Cleanup: Remove redundant type argumentsJonah Graham20-28/+28
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant type arguments and completing the wizard Change-Id: Iaecc7010f097b4b1fabd29ccaa34ccb23a716fbf
2018-11-22Bug 540373: Cleanup: Add missing annotationsJonah Graham14-0/+392
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Add missing Annotations - and selecting all three types: - @Override - @Override on interface methods - @Deprecated and completing the wizard Change-Id: I5d367dacb04327107f25e147edc08efc4eb1c2fe
2018-11-22Bug 540373: Cleanup: Organize ImportsJonah Graham27-236/+1502
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Organize Imports and completing the wizard Change-Id: Ia7b305a4c967d0e6f4e8fb8c1041e7028b24006c
2018-11-22Bug 540373: Cleanup: Format & Remove trailing whitespaceJonah Graham87-67202/+54143
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Format source code - Remove trailing white spaces on all lines and completing the wizard Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham88-264/+527
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham1-4/+5
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2017-11-13Bug 522010 - Completion of non-type template parameter in ambiguous template ↵Nathan Ridge1-5/+22
argument This works around the fact that the optimization introduced in bug 316704 inteferes with the mechanism for offering completions for both alternatives in an ambiguous context. Change-Id: Ibe14c1b4f2f9c9b3394d4635c87424a25fbd7a53
2016-12-29Bug 509749 - Find References doesn't find a reference to a functionSergey Prigogin1-7/+3
Change-Id: Id90a80e234638b590266a8671dd1bf13178e0f94
2016-05-24Cosmetics.Sergey Prigogin1-3/+2
2016-04-16Bug 491825 - Remove primitive wrapper creationAlex Blewitt1-3/+3
Using `new Integer` and other wrapper types such as `new Character` results in potential extra heap utilisation as the values are not cached. The built-in `Integer.valueOf` will perform caching on numbers in the range -128..127 (at least) using a flyweight pattern. In addition, parsing `int` values can be done with `Integer.parseInt` which avoids object construction. Adjust tests such as `"true".equals(expr)` to `Boolean.parseBoolean(expr)`. Change-Id: I0408a5c69afc4ca6ede71acaf6cc4abd67538006 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-02-18Removed INodeFactory.newTranslationUnit() method.Sergey Prigogin1-3/+3
Change-Id: Iaff5e56a18f1a1c53dfc1c31d7bdc6bbfc6c0ae3
2016-01-04Fix copyright of all CDT plugins using the copyright tool from platform.Marc Khouzam51-51/+51
This commit does not add missing copyrights, just updates the date on the existing ones. Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2015-07-07Bug 379684 Support for User Defined LiteralsRichard Eames1-1/+5
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-03-25Remove unnecessary @SuppressWarningsMarc Khouzam1-1/+1
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25Add many missing @Override to remove warningsMarc Khouzam46-0/+499
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25Remove warnings caused by change to getAdaptable()Marc Khouzam15-29/+29
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>
2014-07-10Cosmetics and refactoring related to commits of bug 84144Thomas Corbat1-2/+2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-06Bug 84144 - [Parser2] GCC: labels as valuesqdagans1-3/+3
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-04-12Revert "Bug 379684 Support for User Defined Literals"Sergey Prigogin1-4/+0
This reverts commit f5942dac812c36d3e56c4f2f8b94df19d487609e.
2014-04-12Bug 379684 Support for User Defined LiteralsRichard Eames1-0/+4
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-03-06Reduced use of deprecated types and methods.Sergey Prigogin1-19/+7
2013-09-06Bug 380751 - Members of decltype types cannot be usedNathan Ridge1-2/+4
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-02-03Cosmetics.Sergey Prigogin4-28/+25
2012-09-10Bug 388243 - [LR parser] ICPPASTConstructorInitializer offsets did notVivian Kong1-8/+34
include parentheses
2012-05-02Bug 378189 - LR parser mistaken for-loop initializer as a declarationVivian Kong2-4/+81
2011-02-07Bug 328867 patch by John Liu, update plugin/feature versionsVivian Kong1-2/+3
2011-02-03Bug 328867 for John LiuVivian Kong1-1/+3
2010-09-01Bug 324150 - LR Parser's action class CPPBuildASTParserAction throws ↵Chris Recoskie1-3/+5
UnsupportedOperationException by its function consumeDeclarationSimple.
2010-08-27Bug 323723: Reduce usage of DOMExceptions.Markus Schorn1-12/+8
2010-08-11Bug 322426 Add copy implementation to CPPASTAmbiguousTemplateArgument class ↵Vivian Kong1-10/+1
for John Liu
2010-08-09Bug 315826 Update LR Parser for the template arguments rules - patch by John LiuVivian Kong1-5/+0
2010-08-09Bug 315826 Update LR Parser for the template arguments rules - patch by ↵Vivian Kong27-20827/+26518
John Liu
2010-06-02Bug 315435 Fix the regression test failures in cdt70Vivian Kong17-33/+181
2010-05-12Bug 312658 - Some c/c++ syntax cause content assist hanging, such as ↵Vivian Kong44-23843/+23682
try-catch and do-while(head stream) - fix by John Liu
2009-11-16Bug 295194 - [C99 Parser] class cast exception when parsing KnR syntaxMike Kucera1-3/+3
2009-11-11Preprocessor and Indexer independent of CodeReader, bug 294430.Markus Schorn1-15/+32
2009-05-26update copyrightsVivian Kong38-300/+320
2009-05-14[276360] [LR Parser] CCE when parsing abstract declaratorMike Kucera18-24/+24
2009-04-28Fixes CArrayType.getArraySizeExpression(), bug 273797.Markus Schorn1-1/+1
2009-04-22[273347] [XLC Parser] improve testingMike Kucera1-1/+1
2009-04-20[272950] [LR Parser] Add ability to pass properties to extending parsers and ↵Mike Kucera36-10464/+10265
update (regenerate) the parsers to support this.
2009-04-15[272375] support for UTF string literals in LR parserMike Kucera4-0/+16
2009-04-06[271380] NPE when invoking content assist using LR parserMike Kucera3-12/+13
2009-04-01added support for nested functions GNU extension to LR parser, added tests ↵Mike Kucera16-5433/+5485
suites
2009-03-30partial fix for bug 252243 for LR parserMike Kucera2-1/+11

Back to the top