Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-19Bug 543038 - Implement brace elision for aggregate initializationHannes Vogt4-114/+208
Change-Id: I72e92c8c196bf201c8edfde64598a7318d2fdfeb Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-19Bug 496249: Tags for disabling/enabling CDT code formatterMarco Stornelli5-7/+170
Change-Id: I4389c61612da6a4ee0011a49d6aeed7b52152436 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-02Bug 543819 - NPE in EvalFunctionSet.isEquivalentTo()Nathan Ridge1-0/+3
Change-Id: I4f443f95c1a9bff7150abec323ab8afc576d5f00
2019-02-01Bug 543913 - False negative in ctor with wrong argumentsHannes Vogt3-1/+55
Change-Id: I3a9c692383c5c9d8c465d9ecbc66463b39d5199d Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-20[releng] Bump version numbers for plug-ins changed since branch pointJonah Graham1-1/+1
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment Change-Id: I019f2f6bcf11e5e4fb17960dc28a1fb2fac6ace0
2018-12-15Bug 542448 - Return ProblemBindings in list initializationHannes Vogt2-2/+13
- Return ProblemBinding if conversion from init list failed - In conversion: don't allow implicit conversion with explicit ctor Change-Id: I3145b89df778a035ced9999aff4d8a4164eac17f Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-11Bug 542676 - Headless build missing some console outputChristian Walther1-0/+10
The ConsoleOutputStream method added in 6e1b9b4 must be overridden here, otherwise text sent to it does not appear along with the other console output. Change-Id: I1a3803ffb8962140537b877f0df328a4037b4dfb Signed-off-by: Christian Walther <walther@indel.ch>
2018-12-10Bug 335344 - External settings lost after changing language IDs, take 2Christian Walther2-23/+20
The original fix (a733900) only fixed part of the problem: It worked for the case where a complete CExternalSetting was removed and replaced by a different one, but not in the case where individual entries from a CExternalSetting were moved to a different one, but others remained (and, in both cases, the two CExternalSettings applied to the same ICLanguageSetting). This commit - adds a test for the additional condition, which would previously fail - reverts the previous fix, which is made redundant by the new one - fixes both cases by applying removals before additions with ICSettingEntry granularity per ICLanguageSetting rather than for whole CExternalSettings. Change-Id: I1b1ee7443b83189c29e458eef12be9cad6b3965d Signed-off-by: Christian Walther <walther@indel.ch>
2018-12-08Bug 541717 - Partial ordering and DR1395Hannes Vogt1-21/+38
- As of [temp.func.order] p5 only parameters for which there are explicit arguments should be considered. - Implement [temp.deduct.partial] p11 (resolution of DR1395). Change-Id: I56262229a6fe4717c22aac814aa9ea42eb37a10d Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-05Bug 541549 - Pack expansion expression in type of alias templateNathan Ridge3-3/+21
Alias templates can be instantiated with dependent arguments, which can themselves contain a pack expansion, so we need to take care that pack expansion expressions are instantiated correctly. This was previously fixed for pack expansions of types and template arguments in bug 486971. The patch also fixes a bug in CPPTypedef.getType() where alias declarations weren't handled correctly. (This bug would only occur during debugging as normally the type would be computed via setType(). Change-Id: Ie70a923fc9dd0f177b7bfb429b8f1387966b416d
2018-12-05Bug 541584 - Support alias templates in Open ElementNathan Ridge1-2/+3
Change-Id: I43565b165bd98112ef63e01bc2576a93855f8891
2018-12-04Remove a few internal, deprecated methodsMarc-Andre Laperle1-7/+0
Change-Id: I073f7770a594ec226f7adf5d5022960a298608c7 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-02Remove WorkingCopyInfo class (internal, unused and deprecated)Marc-Andre Laperle1-26/+0
Change-Id: If883af97139c4b00f93a99c76a8fdd6e6cb0ec59 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-01Rename instantiateCommaSeparatedSubexpressions() to instantiateExpressions()Nathan Ridge4-12/+12
instantiateCommaSeparatedSubexpressions() is a clunky name, and in C++17 (with fold expressions) the function will no longer be limited to comma- separated expressions. Change-Id: Id242f58bb291e79cefe2b28db12dbde4bafba4ed
2018-11-29Bug 541474 - Disambiguate function with default argumentHannes Vogt4-18/+34
Take number of explicitly passed arguments into account. Change-Id: If85f072d8b18f3fd1ca28f3c5688e864b0ffb4cd Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-29Bug 541670 - constexpr implies toplevel constNathan Ridge1-1/+3
Change-Id: I318a9293d12eeecb7f49bfba1acb849109fab666
2018-11-29Bug 540758 - Substitution of enclosing template parameters into expansion ↵Nathan Ridge2-3/+14
pattern Change-Id: Ib31db579c7d5a9be2f64fe992abac48c0e2b136a
2018-11-27Bug 540741 - Parameter pack in argument of alias template instance that's ↵Nathan Ridge1-0/+9
not present in the target type Change-Id: Ic5a5d0b25d88bac4074cb78aec17a1311a51d75d
2018-11-24Bug 540991 - Handle ICPPASTTypeTransformationSpecifier in CModelBuilder2Nathan Ridge2-0/+17
Change-Id: Ie87c89388d052cdaffb80163af666c3910da3b4a
2018-11-24Bug 540549 - Have all template parameter bindings implement ICPPUnknownBindingNathan Ridge16-36/+79
Change-Id: If09679f2d56c987175a8d85514da37840ac71205
2018-11-24Bug 541118 - NPE in AbstractIndexerTask.getOffsetNathan Ridge1-1/+4
Change-Id: I7ce30369abfb31dbdcc87e4fe9d36ea35e48ad79
2018-11-24Bug 540373: Update the compiler warnings/ignoresJonah Graham1-1/+1
The previous alignment of all the warnings/ignores led to too many warnings that weren't there before. This commit relaxes them a bit. The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs is still the "master" copy, with releng/scripts/check_code_cleanliness.sh containing the exceptions that apply to test plug-ins. Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-23Bug 540373: Format some Java files that were missedJonah Graham6-12/+6
Some files which has other cleanups applied meant they needed to be reformatted again. e.g. the removing of type parameters shortened some lines of code that meant the wrapping changed. Change-Id: I68ca09567b9530cc2a085c33923642b6de2ec77b
2018-11-23Bug 540373: Cleanup: Remove trailing whitespace in properties filesJonah Graham9-87/+87
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-22Bug 540373: Remove '(non-Javadoc)' commentsJonah Graham26-387/+0
These were inserted in the past automatically by Eclipse but newer tooling makes them redundant. These were removed by doing a global find/replace on *.java files using the following regular expression: \t/\*\n\t \* \(non-Javadoc\)[^/]*/\n Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
2018-11-22Bug 540373: Cleanup: Remove redundant type argumentsJonah Graham280-841/+841
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: Remove unnecessary castsJonah Graham1-1/+1
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove unnecessary casts and completing the wizard Change-Id: I287d4066b12fc19d7f73a016e11c9405abb4ceb9
2018-11-22Bug 540373: Cleanup: Organize ImportsJonah Graham49-79/+87
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 Graham2057-66192/+68464
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 540373: Standard .settings for JDT/PDEJonah Graham5-15/+291
This commit contains the formatter settings and compiler settings, using org.eclipse.cdt.core as the master for .settings and a script to copy them to all the other projects with apply_jdt_prefs_to_all_projects.sh Change-Id: Ifd1a45879bed716273cae0ea05b55f629210c36e
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham2366-7115/+14210
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham1-4/+5
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham30-3924/+3924
There is also a new script to verify completeness of .gitattributes: releng/scripts/verify_gitattributes.sh Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-17Bug 536448: Require target platform bundles as minimum versionJonah Graham1-9/+9
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. Change-Id: Idf166bc4f4a39ad5096386e24cbff234c0238900
2018-11-17Bug 540957 - Implement equivalence checking for expressionsNathan Ridge30-2/+358
This is used for declaration matching in function templates. Change-Id: I80044304b2d9dfda085a13f0cfc040f1200a2e1c
2018-11-16Bug 540909 - underlying_type of typedef to enumNathan Ridge1-1/+4
Change-Id: Ic4f48c4da79419d5404e132da2944ee2823ca41f
2018-11-13Bug 512297 - Improve propagation of semantic problem IDsNathan Ridge1-1/+8
Change-Id: I3c95a244e88abe37f550370ff6c7c9aec2c102da
2018-11-06Bug 540676 - Improve parsing of alias templatesHannes Vogt1-3/+9
- If the argument for a template template paramter is unknown (ICPPUnknownType), don't create a problem. - Ensure that a possible argument-parameter mismatch is caught at template instantiation time. Change-Id: Ief61ef93f9d0c19d043aedb89f1c5e66c0374ef2 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-02Bug 540450 - Fix @since versionHannes Vogt2-2/+2
Change-Id: I5c31d97dbbd277a87147cb05d0245ce0953189bb Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-31Bug 540450 - Parsing dependent template nameHannes Vogt5-5/+81
Parse dependent template names as type. Change-Id: I35461b2e4a615f34749e6ff17b2a85406ec2cf12 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms1-0/+1
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-29Bug 540538 - Pack size for CPPTemplateParameterHannes Vogt1-1/+5
Change-Id: Ie67f27711ca658e9b4b3526c5c3c28541dcd3a15 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-29Bug 540159 - ClassCastException in ExecDeclarator.unmarshal()Nathan Ridge1-2/+10
Change-Id: Ia51244b558798c052f1ec7a6918c6f85a6509655
2018-10-29Bug 540112 - Perform C++14 return type deduction in ReturnCheckerNathan Ridge2-10/+29
As part of this change, ReturnChecker was refactored to compute the return type as an IType, which allowed for removal of some logic in ReturnChecker which duplicated CPPVisitor's type resolution work. Change-Id: I9cd8512164d650a5ee11d2e58fdae477e3c428a2
2018-10-22Bug 529656 - Error if docker build failedHannes Vogt2-0/+5
If the build command in a container build terminates with non zero exit code (e.g. make command not found) an error is displayed. Change-Id: Ib6349aa6c22c1a3bb9c0d2920110bc69773f8da1 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-12Bug 540085 - Deadlock in ToolChainManager initJeff Johnston1-1/+1
- modify ContainerGCCToolChainProvider.init so that the CBuildConfigurationManager.recheckConfigs() call is done within a separate job so the init() call will return without causing deadlock - do the same for ContainerTargetTypeProvider - modify CBuildConfigurationManager initProviders() method to be synchronized Change-Id: I4ca9371fb340887233872b6d315621a24450fb2b
2018-10-11Bug 538069 - Save non-type template parameter...Hannes Vogt1-0/+3
... of template template parameter in index. Fixes false positive "Invalid template arguments". Change-Id: I82cd9aece8f03142cbdcf5d1058113684c29d6fe Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-09-30Bug 539535 - Refactor CPPSemantics.findOverloadedOperator() so that if ↵Nathan Ridge1-23/+40
something goes wrong during one of the member or non-member lookups, the other is still performed Change-Id: I34c1321a0aa943ee82d1e6c45cf33d97e2f5b5ca
2018-09-30Bug 539535 - Originate an accurate lookup point in ↵Nathan Ridge1-33/+38
CPPASTFieldReference.createEvaluation() Change-Id: I8030d5b304a61d7235a8ca92cf99de2d9a9aff68
2018-09-27Bug 512822: "Launch failed. Binary not found" even after buildingHansruedi Patzen3-59/+84
Builds upon https://git.eclipse.org/r/#/c/92129/ but also uses the hints to only read the file if necessary. I further reverted some of the changes done with the patch for 'Bug 510987 - Properly support PIE executables as build output' since the binary will now be seen as an executable anyway. Change-Id: I075fef67f3b101ddbc64786dcbc2ca41cc114e25 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>

Back to the top