Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
9 daysConvert new Runnable to lambda.Alexander Kurtakov66-1331/+719
Take 2. Change-Id: I060b0e41d8c6058db0c2ba88af8454b5517105b8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
9 daysConvert new Runnable to lambda. Alexander Kurtakov6-126/+92
Change-Id: I8b827013a29802a3f3ae6400ddce8d8753eb6399 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
12 daysBug 515393 - Allow contribution to CDT CSS pref nodeJeff Johnston1-1/+1
- add pseudo attributes to allow others to extend the org-eclipse-cdt-ui preference node Change-Id: I79a7bbf80fee47988dc81e651375005640ceee1e
13 daysBug 549508 - Avoid calling CPPBasicType.setAssociatedNumericalValue() ↵Nathan Ridge2-14/+44
without cloning the type If we call it without cloning, we associate the value with every place that has a reference to that CPPBasicType object, which could involve completely unrelated entities. Change-Id: Icff6c32d15ee6dbc55e363b2de9a166e03440f74
13 daysReplace ViewerSorter with ViewerComparator.Alexander Kurtakov3-7/+7
Change-Id: I3013723be25fef063f382456166f6e5a622316d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
13 daysFix vararg warning with 4.13.Alexander Kurtakov1-77/+46
While touching the class: * convert to lambda * foreach conversion * remove useless non-javadoc comments. Change-Id: I3419be135c68829bb98827683bc8fe47c1e2940e
2019-08-05Bug 522200: [C++17] Add support for structured binding declarationsThomas Corbat58-163/+3043
Adds support for structured bindings: - Parser updated - Semantics updated - Tests for parser and bindings added Change-Id: I1de7b760041ac4ce4601f1b5032fdb0a197212a1 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-08-04Bug 548902 - Fix exception in override methods refactoringMarco Stornelli1-1/+5
Change-Id: I2cde109ead8536c048bbe0a08083b36f924e4470 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-30Bug 549653 - Fix wrapping for lambda expressionMarco Stornelli2-13/+78
Change-Id: I5b879edbcda9c5c1fb0087891391612af2c47d09 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-25Fix up some problems found against the latest API baseline.Doug Schaefer1-0/+2
Change-Id: I5679b36166385b617a96ef8180bbd27ae002e900
2019-07-24Don't add null parser ids to the list of binary parsers.Doug Schaefer1-1/+4
This started happening when I added the ErrorBuildConfiguration which returns a null id. This happens when you create a CMake project and add a new launch target. Not totally sure how we got an error config for that. Will investigate that later. Change-Id: I1a4e7c528d2cee101a432d386ad6a7505b9983b6
2019-07-23Bug 549035 - Constructor with reference to initializer listNathan Ridge2-0/+15
Change-Id: I83fd8d2453c36feb51bab80b5bf0943b68a1c97a
2019-07-23Bug 545959 - Added checker for assignment operatorMarco Stornelli1-7/+61
Change-Id: Ib48742cbc04679ab9e48349f4d68aea5657d38c9 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-20Bug 376395 - Fix const methods with never join wrapped linesMarco Stornelli2-1/+18
When at the same time never join wrapped lines and next line for opening function brace were selected, two tabs were added. Change-Id: I90f606bf7f8b7bb7e83f3ae85d7cbb9cd0146b97 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-11Increase PDOM version to force rebuild for bug 549028Marc-Andre Laperle1-3/+6
Change-Id: If18da2b194515c64351ed61b149593566afbc7d8 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-11Bug 549078 - ArrayOutOfBoundsException in ↵Nathan Ridge1-2/+2
AbstractIndexerTask.IndexFileContent.merge() Change-Id: I7ceacfc9c14e10bdecf7dda3c793a3ed26559bc2
2019-07-10Bug 549028 - Fix missing getRecordSize() leading to index corruptionMarc-Andre Laperle3-1/+12
Because of the missing getRecordSize implementations, subclasses would starting writing in records that were thought to be malloc'ed by the parent but it was instead writing in other blocks, possible used by other PDOM objects or free blocks to be used later and now not initialized to 0. This could lead to a few different exceptions like - BufferUnderflowException(Chunk.getChars) - CoreException: Corrupted database - ArrayIndexOutOfBoundsException(AbstractIndexerTask$IndexFileContent.merge) and possibly others. Change-Id: Ie6d1986a22a9fb5f5e90cb741046d098ebf10a90 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-07Bug 540001 - Added option to control comments formattingMarco Stornelli13-205/+387
Change-Id: I97b1813113f2c53a549b5be7d91ff834fce86bd5 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-05Bug 548980 - Track launch target connects and add error buildsDoug Schaefer6-15/+167
We need a way to alert the user that we are unable to find a toolchain that maps to the current target. An ErrorBuildConfiguration is created that simply prints out an error message at build time to handle this. We then set one of these as the active build config in the tracker with the appropriate message. We also add a target listener so that when a target becomes OK_STATUS, we run the tracker again to see if we have the right active build config for that target. Some targets can only determine some of their attributes when connected. Hook up the IToolChain matches so we're using it in the toolchain manager. This allows toolchains to do more complicated matching of the properties. Change-Id: Icaff85117e8147cd2793f2915fa75ce33673ab52
2019-07-04MSVC: Add some type-traits supported by MSVC in the scanner configurationMarc-Andre Laperle1-1/+63
Add existing type-traits that were implemented for GCC that are relevant to MSVC. Some are missing but even with those parsing is improved with minimal effort. For the LLVM codebase, I see it go from 0.46% unresolved names (16,668) to 0.19% (6,950). This is combined with another patch that adds temporary macro hacks. Change-Id: I441dcfa4a986edef78b75c0d6db04b78fdbc97b3 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-03Bug 548954 - Type transformation specifier in type-idNathan Ridge2-0/+12
Change-Id: Ia8e0aaf7814cb104d296ae20cc5f43fd2ddd0792
2019-07-02Bug 548700 - Handle prefix negative sign in FloatingPointValue.parseDouble()Nathan Ridge2-0/+14
While a literal expression itself will never be negative (the negative sign is parsed as a unary operator), we also use FloatingPointValue to represent results during value computations which can be negative. Change-Id: I16227b2d19256066b094ae60476e124b4bcea14d
2019-07-01Bug 467346 - Fix format structs/unions with attributesMarco Stornelli2-1/+59
Change-Id: I516c53978c7dea0191fc66d2820e1dbe5a664b48 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-06-29Bug 467346 - Retain attribute after struct key in CNathan Ridge2-2/+20
Change-Id: I35a25bc635039c37b66d1f1e4037e943ffcb0d39
2019-06-28Bug 488349 - Organize Includes removes an include necessary for a...Felix Morgner1-1/+1
Add missing ; to test case. Change-Id: If0224c4fc3580cbe527efe0d3a5739896a000d7e Signed-off-by: Felix Morgner <fmorgner@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-06-28Bug 548712 - MinGW installation is not recognizedThomas Corbat1-9/+19
Recognize MinGW installations by checking the path of gcc.exe for substring "ming". Change-Id: Ibc6d4b03ef715036176e3aea6382dd986e4caae8 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-06-25Bug 548512: Declarator formatting multiple keywords between pointersHansruedi Patzen2-10/+32
Bugfix and removal of code duplication. Change-Id: Id6a94c4cf59311f287b73e09019ddd323361fdc7 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2019-06-25Bug 548482 - Return non-null from CPPFunctionProblem.getType()Nathan Ridge1-1/+1
This avoids an NPE as callers of IFunction.getType() do not expect it to return null. Change-Id: Ice90fa358c25007dffb41217c5a38d6c2f4a9d0e
2019-06-24Bug 548482 - Add CPPClassSpecialization.RecursionResolvingConstructorNathan Ridge1-2/+23
This avoids an ArrayStoreException in specializeMembers(). Change-Id: I88a92462ef1ace4e99a0b45a9ba5975c705dab67
2019-06-24Bug 547763 - Bump patch version for previous changeJonah Graham1-1/+1
Fixup for commit 141142dcabbdd373169c1ea1735caf81f0c98b65 Change-Id: I7be9eb1021eb611c7103aff7ea85fcdc3f5f1a87
2019-06-21Bug 547763 - Consistently handle IArrayType.getSize() returning a null IValueNathan Ridge2-16/+22
Change-Id: I0246f1af5f3ed16f6ab03ff30dd9a0b27ee37df6
2019-06-19Remove remnants of no longer supported archesMat Booth2-5/+1
Change-Id: I9fb7caf1345dff8dd33964bf62f1bc1b513fa8b3 Signed-off-by: Mat Booth <mat.booth@redhat.com>
2019-06-17Bug 548334: Remove unused NLS message with no entryJonah Graham1-1/+0
This was causing: Warning: NLS missing message: OverrideMethods_label in: org.eclipse.cdt.ui.refactoring.actions.Messages Change-Id: I07e16ec58397fa268a06dcdba30dccfa1e66a93e
2019-06-11Bug 548138 - Fix override method with implementationMarco Stornelli3-4/+33
Change-Id: Icbea4fe97e8f3b481ea187f905661c8adcc7cc06 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-06-11[releng] Bump version to 9.9.0Jonah Graham9-9/+9
Change-Id: I6641e51a8bfdb44fa5c646d97debf2bf814c107a
2019-05-31[releng] Require target platform bundles as minimum versionJonah Graham2-32/+32
Without setting dependent plug-ins to minimum version to match the target platform we are aiming for we can imply (and therefore let install) CDT into older versions of Eclipse where CDT does not actually work. This can be exposed in very odd ways, such as IllegalAccessError, when platform has allowed API changes. However, rather than update every single bundle in CDT, only the o.e.cdt.core/ui bundles are being updated as this should achieve the desired result without every other bundle needing to be touched. See Bug 536448 Change-Id: I1c8f102a9a750e40970197da3e6cd56d139492bc
2019-05-31Bug 547684 - Fix format assignment with init listMarco Stornelli2-4/+25
Change-Id: I4fbdc1c65eb25688231e8020bbc3baa750d97be0 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-30Bug 303870 - Fix for base template classesMarco Stornelli2-4/+56
Methods weren't added if the virtual methods were in a base template class. Change-Id: I34b05eeb1e7dc5ce83944a642461eca521764967 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-28Bug 268404 - Added options for label formattingMarco Stornelli8-1/+163
Change-Id: I192ede1c17d2b1929dcb6fb33158eb7628707598 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-27Bug 547534 - Resolve TDEF in getFieldPosition()Hannes Vogt2-1/+5
and propagate a ProblemType in EvalCompositeAccess. Change-Id: I20c580c681ea5916d2e1c249b96f41c9dc95082f Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-05-26Bug 547533 - Avoid ClassCastException in EvalTypeId.getValue()Nathan Ridge1-1/+1
Change-Id: I614b67a7b53b7075b702911a33ba8440a187614e
2019-05-24Bug 547450 - Options default/delete/inline/definitionMarco Stornelli14-66/+176
It's now possible to select among four options for the implementation of single method stub: delete, default, inline or definition. Change-Id: I9aac9c53a5a7143235d0f2f447b8d22fa2e2c839 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-22Fixes for Test Leaking Editor testJonah Graham1-2/+19
The testLeakingInstanceAfterClose test relied on some weird behaviour of an earlier test (testScalabilityDialogNotDismissedInadvertently_417909) which had the effect of opening the editor window without the welcome screen. This change makes that explicit and adds a little bit of logging to identify why the testLeakingInstanceAfterClose test may sometimes fail. I have also increased the maximum time allowed before the test timesout. Change-Id: I3433ccf1fc02cff76eeb278d05fee082157ca49c
2019-05-21Bug 547224 - Avoid concurrent access to AST type string cachesNathan Ridge1-3/+13
The caches used to be thread-local, but that did not survive the refactoring in bug 512297. This patch makes them thread-local again. Change-Id: Iffe37aef292e4efb05e30af2a251a71fb57b343d
2019-05-21Bug 545040 - make array size inference work with initializer listsDavin McCall2-20/+102
Resolution for DR1591 clarified that initializer list size could be used to deduce array size (if it is a template parameter). Change-Id: Ic3617e31b125083f1205f91383eb27f5e5a29041 Signed-off-by: Davin McCall <davmac@davmac.org>
2019-05-20Bug 546805 - Infinite recursion in self-aggregationHannes Vogt2-3/+46
Protects for infinite recursion in case the type (illegally) aggregates itself. Change-Id: I2e70f85a73b3d2ed6fec432fa2f768f2bcf8d1bf Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-05-20Bug 545021 - Implement noexcept operatorHannes Vogt44-46/+531
- Adds getNoexceptSpecifier() to ICPPFunctionType, returning the evaluation for the noexcept specifier. - Adds isNoexcept() to ICPPEvaluation, which returns the result of applying the noexcept operator to the evaluation. - Empty throw() specifier is treated as noexcept(true). - Improves EvalTypeID.isConstantExpression() for conversions. Change-Id: I4c6418aea21bb258693b33d956bc3745918f3759 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-05-18Bug 500000 - Fix API warningsMarco Stornelli1-0/+9
Change-Id: Ia99ccbffc3cbe361e7ce2bca05b604ece8255e8b Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-18Bug 353022 - Fix format switch without parenthesisMarco Stornelli2-1/+23
Change-Id: I8d8a6498abe5c08c65c03f86b563563910f01098 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-16Bug 547174 - Clean core project doesn't always show active in consoleJeff Johnston1-1/+2
- add missing ProjectDescription.setBuildConfigs calls to CoreBuildLaunchBarTracker, CoreBuildLaunchConfigDelegate and CBuildConfiguration Change-Id: I0d1097d04f3a210a6a7e9f8ad35adb9ba5d7c3d6

Back to the top