Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-26Bug 518273 - Toggle function should remove the override keyword when moving ↵Marc-Andre Laperle2-7/+27
out of class Change-Id: I7ad80262c7f9b98d3ae9b23ae2b45bf0c94ccf99 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-09-25Bug 538615 - GNU-style attribute preceding standard attribute specifierNathan Ridge1-1/+3
Change-Id: I8f736ab354b07fb14cba35dec10c8b6d96917d70
2018-09-25Bug 539076 - Substitution of alias template for template template parameterNathan Ridge1-3/+9
Change-Id: Ide5a6858560b0aae1efd391215bc229bef5421e7
2018-09-18Bug 539052 - Add support for __is_constructible type trait intrinsicNathan Ridge9-8/+40
Change-Id: I582881808e19342bf55d62d6002365c3733ebf31
2018-09-17Bug 510152: ParserException in ASTAmbiguousNode.logAmbiguousNodeErrorHansruedi Patzen1-1/+2
If the fOperand of an CPPASTUnaryExpression is an ASTAmbiguousNode the fOperand.getEvaluation() call will always fail and log an error. Change-Id: Ie17c2685636e8956bf4724c206092cf0370ff5d9 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-09-12Bug 536884 - Removing header cache should cause ScannerInfo refreshJeff Johnston1-3/+0
- don't reset setting in shutdown() method as this clears the property prematurely for meson and cmake projects Change-Id: I2dd2467427d00aeade335319ec2ceec9f6d7168d
2018-09-11Bug 538517 - Proper handling of range-for with temporary as range expressionNathan Ridge1-1/+26
Change-Id: I41c0ab58810c656d2ed89c9f5110ebc559e29575
2018-09-02Bug 537942: Inactive include statements have wrong offsetsHansruedi Patzen1-1/+1
Fixed the bug and added a test for confirmation. Change-Id: I5d3c5f797d84b10b961dcfc178a5bbcc3becbd04 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-08-24Bug 537534 - Support binary expressions with an initializer-list as the ↵Nathan Ridge1-1/+1
second operand in CPPASTBinaryExpressions.acceptWithoutRecursion() Change-Id: Ifb37df94c9b33f7eeeca4ab041d8f0608377b8cd
2018-07-24Fix some @since tags because of new baseline and plugin versionMarc-Andre Laperle5-9/+9
Some changes in the cdt.core plug-ins happened without increasing the version number. With commit 00df140, the version was increased but now the @since tags do not match the version. Change-Id: I51bab190aa4be05e678487a6be0b5122cba8146a Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-07-24537217: [C++17] Add support for typename keyword for template template ↵Felix Morgner7-31/+84
parameters This patch allows for the 'typename' keyword to be used in template-template template parameter declarations. Additionally, this patch also fixes an issue in the writer, which caused the ellipsis in variadic template-template template parameter declaration to be dropped. Change-Id: I8f68e6053b2b8848b35d1cf6d25d7f4b5b9d396d Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=537217 Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2018-07-23Bug 481753 - LanguageSettingsProvidersSerializer does not "Check Out"Marc-Andre Laperle1-0/+2
shared language.settings.xml file before writing to it Change-Id: Ic256e95f17f070c763bdaef8b63583bd915c7eb0 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-07-23Bug 535911: Better error in the presence of compressed ELF sectionMarc-Andre Laperle3-2/+26
This doesn't implement reading compressed ELF section, but at least it gives a more useful error instead of a simple "IllegalArgumentException" with no clue. Change-Id: Ib0ee1ab9e3aed7aeba184f13262b59ef21afcd32 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-07-16Bug 536805 - NPE in CPPEvaluation.maybeApplyConversion()Nathan Ridge1-0/+4
Change-Id: I42e780f90aacf9383b722a8b82e441d4032d14e7
2018-07-16Bug 537013 - Comment is replaced along with nodeThomas Corbat2-0/+100
Provide functionality to remove a specific comment from ASTRewrite. Change-Id: I5e0b3c521616d2dd900f59b0863e45fb01f34df8 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-07-12Bug 536884 - Removing header cache should cause ScannerInfo refreshJeff Johnston1-2/+32
- add a new IToolChain property "cdt.needScannerRefresh" that is set if scanner info needs to be refreshed - for a Container build, turn the property on in ContainerGCCToolChain startBuildProcess() if the Container headers for the toolchain's have been deleted - in CBuildConfiguration processLine(), look for the toolchain property when looking to see if scannerinfo should be calculated - in CBuildConfiguration, turn the toolchain property off in shutdown() Change-Id: I67a3537d1e2967dc15b66a1c37abda1ae8f78bff
2018-07-08Bug 535777 - Disallow class body in trailing return typeNathan Ridge2-5/+12
Change-Id: I6e4d015cb3e1b12486f336db94ed71c234142b60
2018-07-01Bug 535548 - Infinite recursion loading function whose return type refers to ↵Nathan Ridge6-21/+51
a parameter from the index Change-Id: Ibff680983cc8ac0bd9d33d8f2247a9f0ca2fe2f3
2018-07-01Bug 535559 - Index search for entity inside toplevel anonymous namespaceNathan Ridge1-1/+2
Change-Id: I9fdc268819b2298d0b3aeb9db9c29f1a0158d2bb
2018-06-29Bug 536470: Fix NPE for includes outside workspaceJiří Engelthaler1-0/+3
Change-Id: I487823cf627680f61cf19d1228a84a3da68ce420 Signed-off-by: Jiří Engelthaler <engycz@gmail.com>
2018-06-26Bug 534330 - Use the full path of the file when inventing names for ↵Nathan Ridge1-12/+30
anonymous types Otherwise we can get clashes if two anonymous types happen to be at the same offset in files with the same name but different paths. Change-Id: Ia269a7c6fa1dc7e37d23d9333b245143d7c33e5d
2018-06-26Bug 536023: NoClassDefFoundError for javax/xml/bind/DatatypeConverterMarc-Andre Laperle1-0/+2
This package is marked for removal in Java 10 and in fact, is not found at run time. Instead, use the javax.xml.bind plugin from Orbit. javax.xml.stream is also needed by javax.xml.bind. Change-Id: Ida10746267c814a8a11f2db7181dcb9e8ceaad44 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-06-21Bug 535257: __declspec lost on AST rewriteHansruedi Patzen8-31/+131
Implemented new IASTMSDeclspec nodes. Change-Id: I2fbc0c2124a8158a457bae0e3cf95aa20ac8ac00 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-21Bug 535274 Follow up cosmeticsThomas Corbat1-6/+7
Change-Id: I562bc0925e53a461bd9e6362dc14f2e1cd924582 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-20Bug 535256: Rewrite removes attributes, key and base from C++ enumHansruedi Patzen7-10/+111
Fix and tests. Change-Id: I1f5519f833563378d87b3c932b754e29c3e32b06 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-20Bug 535274: Allow attributes on namespace definitionsHansruedi Patzen6-10/+48
Implementation and tests. Change-Id: I0cca9dea8630ae66b005856338342b4173c48216 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535275: Allow attributes on function parameter declarationsHansruedi Patzen5-6/+35
Implementation and tests. Change-Id: If64f1ee1aac79aa1ef3592fc8636686562298ffc Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535269: Allow attributes on enumeratorsHansruedi Patzen4-20/+23
C++17 feature. Implementation and tests. Change-Id: Idafe4ca41058e8387aeae9a27f028677c62245c0 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535278: Formatter error formatting CF statements with attributesHansruedi Patzen1-0/+14
Fix and tests. Change-Id: I1928d5fe70c02cbc9c147bb305720ad75b4913fc Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535263: Switch statement attributes lost on rewriteHansruedi Patzen1-1/+4
Fixed with the patch for 533552, only the CodeFormatter needed fixing. Change-Id: I258617d01b091764ad9776921e773e208002c989 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535331: Rewriting sizeof...() drops the parenthesisHansruedi Patzen2-5/+5
Fix and test. Change-Id: If54f24d833724f3c51ae0b6e7f325493e5110719 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535266: Formatter error CaseStatement with attributesHansruedi Patzen1-0/+2
Fix and test. Also fixes formatting errors with DefaultStatements. Change-Id: Idac4a7105d7ae86db40755bd27cef60e197de664 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535557 - Avoid setting a null lookup point in ↵Nathan Ridge1-2/+6
SizeofCalculator.sizeAndAlignment() Change-Id: I50974c7b74ef511aae96e2ce2a9a3b96ecbdb594
2018-06-14Bug 533552: Rewriting nodes with attributes causes attribute duplicationHansruedi Patzen4-24/+90
Fix and tests. Also fixes bug 535265, since the Codan Quickfix tests fail otherwise. Change-Id: Id31e40907b7ebdeee4a67c014c3a1b1cd37579ad Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-11Bug 531701 - ClassCastException inNathan Ridge1-8/+22
AttributeWriter.writeGCCAttributeSpecifier() * Added test to reproduce initial issue. Change-Id: I72e60fb2244b7d40492bfcdeaa58a8707c39e277 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-03Bug 534813 - ASTWriter swaps noexcept and pure virtual specifierHansruedi Patzen1-4/+4
Fix and test Change-Id: I14088e69aed829940fb1e9f5197dedf18d9bb7a5 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-03Bug532849 Inline namespace not recognized by formatterHansruedi Patzen2-0/+9
Change-Id: Ie7f13884967685fcc93c8af3955d90825d6f9879 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-01Bug 534808 - static_assert without message not recognized (C++17)Hansruedi Patzen6-11/+57
Fix and test Change-Id: I785ecfd0715f1fa8ff86b87bd01d16ac6d5d5da2 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-05-29Bug 535196: [C++17] Support *this in lambda captureHansruedi Patzen2-0/+10
Implementation and tests. Change-Id: If32911514eb62078215b5f06be12289fa571e9a3 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-05-28Bug 413527: [C++14] Support Lambda init-capturesHansruedi Patzen11-81/+372
This patch adds parsing and semantic support for lambda init-captures. Change-Id: Ia5f39ea6f8780ecd6a9685f432bcbdf39e09c82a Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-05-28Bug 534332: Mark long deprecated interfaces as noimplement/noextendJonah Graham2-0/+4
Change in super-hierarchy caused API breakage. As these interfaces have long since been deprecated, rather than adding default methods for them, simply mark them as noimplement/noextend. The implementation in CDT already has the new effective method - getAttributeSpecifiers() - implemented. Change-Id: I252fdeb33c0edcbe73338dc6fca477201bd4d468
2018-05-28Bug 535139 - Container target set-up causes NPEJeff Johnston1-11/+13
- add null check before accessing ordered tool chains Change-Id: I713a55f8e887b642aa4a159e59c454de9a97955a
2018-05-24Bug 527954: [C++14] Syntax error when parsing complex udl ""ifHansruedi Patzen2-14/+20
With this patch we allow any keyword to be used as a UDL operator, which for example GCC compiles fine with. They are then no longer highlighted as keywords but colored the same as normal text. This can be overridden by coloring overloading operators differently. Change-Id: If80faf0f3dc599ab4f12fe98977c556aaaefe6aa Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-05-17Bug 519361: wrap template<auto> types for better type resolutionVlad Ivanov3-3/+33
https://bugs.eclipse.org/bugs/show_bug.cgi?id=519361#c28 Change-Id: I0a2f5479bb853ca26156be5b22673abdc158efab Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2018-05-11Bug 534126 - Cache instantiations of alias template instancesNathan Ridge2-5/+55
This avoid runtime that's exponential in the nesting depth of alias template instances. Change-Id: Ibde6a6d98753df54e8e495a8b4547a90e8313191
2018-05-11Bug 534332 - Allow C decl-specifiers to store attributesNathan Ridge5-7/+8
The parser already accepted this, but the attributes were not stored in the AST. Change-Id: I7118eaff9dd150f15885f0aabb8a3b5e707394b0
2018-05-08Bug 519361: use placeholder type for template<auto>Vlad Ivanov2-7/+10
Change-Id: I40f96479148a92618050ba50d7761f478f92024d Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2018-05-04Bug 534098 - NPE in VariableHelpers.createType()Nathan Ridge2-5/+6
Change-Id: I0b287d31dba8075d8e99f74d6815d3018c985bc7
2018-05-04Bug 519361: try to deduce the type of non-type template parametersVlad Ivanov1-0/+8
This commit resolves some of type resolution errors for C++17 <auto> templates. Change-Id: Ibdd3dcc0b7740bce1d6f390d034e1ce67c27be58 Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2018-05-03Add dynamic variable for build directory of active core build configDoug Schaefer6-71/+143
This will allow us to use that value in external tool launches such as those used by the Serial Flash launch configuration. Also removal of the missing src source folder entry in meson.ui.editor. Change-Id: I1033bdc0c18c9822490a9b8602cef83a42f7262d

Back to the top