1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

35992 commits

Author SHA1 Message Date
Igor V. Kovalenko
fe7a9d7856
Do not allow structured binding initializer referencing introduced name (#241)
If name lookup ends up with a variable, additionally check if node being
resolved is part of the structured binding initializer introducing found
variable. If this is the case, produce problem binding and report structured
binding declaration error via codan.

This change also prevents infinite recursion trying to resolve auto type of
introduced variable while evaluating such problematic initializer.
2023-01-28 10:54:09 -05:00
Igor V. Kovalenko
2776d17014 Drop three-way comparison from C parser, this is C++ only. 2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
a90cbe1736 Add simple evaluation for c++20 three-way comparison 2023-01-28 10:52:07 -05:00
Jonah Graham
a0f91038e0 Add and correct since tags for new API in 8.1.0
o.e.cdt.core 8.0.0 was released as part of CDT 11, so this new
non-breaking API needs a version bump to 8.1.0.
2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
97dccc2c1e Fix precedence for c++20 three-way comparison operator 2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
f13157720e Add operator name test for c++20 three-way comparison 2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
ae8da7ef88 Add variable read/write flag test for c++20 three-way comparison 2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
a8b3401a47 Add rewriter test for c++20 three-way comparison expression 2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
5eb89637b2 Add test for c++20 three-way comparison expression 2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
5622e59e5f Replace useGNUExtensions flag in test code with scanner configuration id
Add STD and GNU scanner configuration ids and pass these as needed instead of
boolean flag useGNUExtensions. This will be used later by C++20 scanner tests.
2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
ff8ac10f6e Add basic support for c++20 three-way comparison operator 2023-01-28 10:52:07 -05:00
Igor V. Kovalenko
ccf8053680 Fix copyright header typo 2023-01-26 14:18:41 -05:00
Igor V. Kovalenko
8fc812ee27 Fix pack expansion for array elements
When parameter pack contains array type the EvalCompositeAccess.getType() will
attempt to return type of array element.

Fix this by providing EvalPackAccess which returns pack elements as is.
2023-01-26 12:15:40 -05:00
Erwin Waterlander
7911ac8a2b Bug 552070 - Build not configured correctly error while building a project
https://bugs.eclipse.org/bugs/show_bug.cgi?id=552070

After closing and opening a Core Build project (Make, CMake,
Autotools, and Meson), the project could not be built for Debug
anymore. Error: "Build not configured correctly".

Restoration of the debug build configurations failed, because the
settings had been removed during closure of the project.
CBuildConfiguration(IBuildConfiguration config, String name)
failed with a CoreException. The CBuildConfigurationManager
silently catched the exception and put the IBuildConfiguration for
debug in the noConfigs list.
2023-01-25 14:23:14 -05:00
Jonah Graham
7bcef26f65 Make Select Configurations Dialog resizable
Fixes #240
2023-01-18 15:50:45 -05:00
Jonah Graham
3feeedfa63 Fix broken composites on archive.eclipse.org
This is a fixup on the previous fix. Although p2 doesn't
use the "size" property, it is good form to have it correct.

Fixes #235
2023-01-16 17:19:05 -05:00
John Dallaway
1c7aa967a0 Add support for DW_FORM_line_strp 2023-01-16 20:47:09 +00:00
Jonah Graham
781646e0ef Account for new header layout in DWARF v5
Fixes #198
2023-01-16 20:47:09 +00:00
Jonah Graham
ded8b708cc Fix broken composites on archive.eclipse.org
Fixes #235
2023-01-16 12:12:55 -05:00
John Dallaway
a949830dd3
Support multiple MSYS2 64-bit registry names (#243) 2023-01-15 16:52:20 +00:00
TheShermanTanker
c98aae4c6a Update comment because #warning is no longer an extension in C23 2023-01-01 13:51:32 -05:00
Jonah Graham
503ca0af58 Bump version of cdt.core in preparation for 11.1.0 dev 2023-01-01 13:51:32 -05:00
Jonah Graham
f8915da90f Run all workflows on CDT 11 branch too 2022-12-09 12:38:28 -05:00
Jonah Graham
cf50404d03 [releng] Update to latest cbi-plugins version 2022-12-09 12:24:55 -05:00
Jonah Graham
febbaa9ffe [releng] Update to latest maven-resources-plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
03dee82336 [releng] Update to latest maven-pmd-plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
cf48ca76bd [releng] Update to latest maven-enforcer-plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
48c5abfcb3 [releng] Update to latest maven-compiler-plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
2af753223e [releng] Update to latest jacoco maven plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
b87a45520a [releng] Prepare repo for CDT 11.1.0 development 2022-12-09 12:24:55 -05:00
Jonah Graham
fcf2a16614 [releng] Bump versions of bundles modified since 11.0 release 2022-12-09 12:24:55 -05:00
Jonah Graham
6b09fcf264 Empty N&N for CDT 11.1.0 2022-12-09 12:24:55 -05:00
Jonah Graham
381f9ae080 Use Ubuntu that contains GDB 10
Until we are ready for GDB 12 in the testsuite, run the GHA
checks against GDB 10 by chaning base OS to Ubuntu 20.04
instead of latest (which recently changed to 22.04)

Worksaround #210
2022-12-09 10:02:56 -05:00
Jonah Graham
e874e9b95d
Add lack Dwarf5 support to release notes
Part of #198
2022-12-07 19:54:49 -05:00
Jonah Graham
1fbd271b0c [releng] Use final locations for Platform build
This is the last part of finishing up 11.0.0 release, the Platform
I-Builds will be deleted soon so we point to the same versions
of those dependencies in their permanent locations.

Part of #77
2022-12-07 15:55:29 -05:00
Jonah Graham
fb081b9975 Fixup "CDT 11.0 p2 composites on download.eclipse.org"
This file wasn't saved in my editor before I pushed the
original commit
2022-12-07 14:59:21 -05:00
Jonah Graham
028eabcaa1 CDT 11.0 p2 composites on download.eclipse.org 2022-12-07 14:34:20 -05:00
徐持恒 Xu Chiheng
352630b8ea
ProcessFactory.java : envpToEnvMap() consider null envp (#195) 2022-12-06 16:05:28 -05:00
徐持恒 Xu Chiheng
ac64d4aedc
refactor ProcessFactory to help debugging (#191) 2022-12-06 13:20:38 -05:00
徐持恒 Xu Chiheng
9114ac3ff2
refactor ProcessFactory.java to put all process creations in one function. (#188)
* refactor ProcessFactory.java to put all process creations in one function.

Prerequisite of #187

* add missing $NON-NLS$ tags
2022-12-03 12:06:28 -05:00
徐持恒 Xu Chiheng
f41d5ff25b ignore top directory editor temp files 2022-12-03 11:14:33 -05:00
Jonah Graham
2697b16984
Update information on development builds downloads 2022-12-01 11:46:15 -05:00
Jonah Graham
b7931a827b
Use releases page for current download links
Instead of having to update this page on each
release, add a new release to
https://github.com/eclipse-cdt/cdt/releases
and include the links there.
2022-12-01 11:44:18 -05:00
Jonah Graham
f22c6aec67
Add a link to Noteworthy issues/PRs to N&N doc 2022-12-01 11:30:17 -05:00
Jonah Graham
1087dc5f22 [releng] Require target platform bundles as minimum version
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
Part of #77
2022-11-29 16:20:31 -05:00
Jonah Graham
74f321cbca Migrate run-dash-licenses from cdt-infra to main CDT repo 2022-11-29 14:15:25 -05:00
Jonah Graham
9ab0f2f256 [releng] 2022-12 RC2 dependency versions
Part of #77
2022-11-29 08:09:57 -05:00
Moritz 'Morty' Strübe
f9e426b5ed Bug: Docker: Do not pull all tags
If the latest tag did not exist locally and no tag was given for an
image, all tags were pulled.
2022-11-28 20:15:09 -05:00
Moritz 'Morty' Strübe
7966c42ecb Bug: Docker: Save correct docker image name
When the docker image was not locally available the name of the image
was not correctly saved
2022-11-28 13:44:10 -05:00
Jonah Graham
1d73f112dc Use mi-async instead of target-async on GDB >= 7.12
target-async is the old name for mi-async. mi-async came
into existence in GDB 7.8, but in later releases it becomes
a warning to use the old name.

Because we already have the version infra for 7.12 we
change to using mi-async from 7.12

A similar change was made for
[cdt-gdb-adapter a while ago](https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/blob/main/src/GDBBackend.ts#L114-L116)

Fixes #176
2022-11-22 11:43:01 -05:00