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

34535 commits

Author SHA1 Message Date
Marco Stornelli
dd88f8ffca Bug 534420 - Added check for nodiscard for classes and enums
Change-Id: I3932f4d23f18f96f8d1c15c18d7d4d991154aca1
2020-04-08 14:26:56 +02:00
Marco Stornelli
77790012cc Bug 561631 - Fix isFinal check for template specialization
Change-Id: Iac5b0d753c32f936e5d0e7ecdde66aeb0f7c6af8
2020-04-08 08:10:28 -04:00
Marco Stornelli
a1ea26f817 Bug 561824 - Removed suppress warnings about API restrictions
Change-Id: I182a222ec09e1da88dfcf1d3066eb3e9eaba4a2c
2020-04-07 14:23:50 +02:00
Marco Stornelli
14936b92c6 Bug 534420 - Add checker for [[nodiscard]] attribute
Change-Id: I5e40a2d50281b669c62ed48ee1a3a399ca71981c
2020-04-06 09:22:03 -04:00
Marco Stornelli
733d884bc4 Bug 534420 - Add support for nodiscard attribute for enum types
Change-Id: Ib555c5d3f37c1159208a971affc7d31dc0ca3220
2020-04-06 09:21:36 -04:00
Alexander Fedorov
68bb85e439 Bug 561734 - Clean-up Activator for CDT Tools Templates UI
Clean-up Activator class, may be filly removed after TemplateExtension
rework.

Logging code should be less verbose after merging of
https://git.eclipse.org/r/#/c/160386/

Change-Id: I502e14ac40b3ae5d3850b195f9ad9177bfae5536
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-03 18:45:24 +03:00
Alexander Fedorov
e730f8b8d3 Bug 561635 - Clean-up CDT Activator code
Remove misplaced usage of
"org.eclipse.tools.templates.ui.internal.Activator"

Change-Id: Iaeb42729366f12a6329c4b8ca2b062ab7a169472
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-02 21:19:33 +03:00
Alexander Fedorov
c42ebba662 Bug 561711 - Remove Activator for CDT Build Cross GCC
Removed "org.eclipse.cdt.internal.build.crossgcc.Activator"

Change-Id: I743cfc24f7ab1caac0bcd44733ac794247a8f84b
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-02 18:16:38 +03:00
Alexander Fedorov
f965614e9a Bug 561658 - Remove Activator for CDT Templates Freemaker
Replaced "org.eclipse.tools.templates.freemarker.internal.Activator"
with "FMGenerator"-local code to determine pluginId for IStatus creation

Change-Id: Iaff6d51b09de225d6d2c657e83e36ac8418f62b3
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-02 05:25:12 -04:00
Torbjörn Svensson
36de92cc77 Bug 495661 - Period is a valid symbol in a section name
When using -ffunction-section, each function is placed in it's own
section name. For example the main() function would be placed in
.text.main, so the pattern looking for undefined references needs to
allow the extra dot there.
Since C++ will use other symbols than what's included in \w, lets allow
everything except a + sign and whitespace.

Change-Id: I66d9ee7d8cbc0a405e60d7cdeb43c38b30107245
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-04-01 15:36:25 -04:00
Alexander Fedorov
0c464f651e Bug 561639 - Remove Activator for CDT Templates Core
Remove org.eclipse.tools.templates.core.internal.Activator

Change-Id: I690701bc9d4ea49f59eebda23866a17d572c0e57
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-01 07:57:00 -04:00
Alexander Fedorov
456afb3b8f Bug 561637 - Remove Activator for CDT CodAn UI Cxx
Removed org.eclipse.cdt.codan.internal.ui.cxx.Activator

Change-Id: I0c1d55c0756762044d66746c276d28ae72ded7e6
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-01 07:20:06 -04:00
Marco Stornelli
703310dfa6 Bug 534420 - Add support for nodiscard attribute for class types
Change-Id: I7466301118bacc04029c315d97441ff8e56142b5
2020-04-01 02:31:07 -04:00
Alexander Fedorov
7458b960c9 Bug 561582 - Revise API for CDT Codan
Clean-up "org.eclipse.cdt.codan.checkers.ui.tests" test bundle

Change-Id: I0f5198cc85c85b0829f5a73574cec54f152ba0cf
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:46:24 -04:00
Alexander Fedorov
89ada0fae4 Bug 561582 - Revise API for CDT Codan
Declare "org.eclipse.cdt.codan.checkers" package as "x-internal"

Change-Id: Icf5486f370c1397ec0fdfc502878509f1e665e98
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:45:23 -04:00
Alexander Fedorov
ec893a74ec Bug 561539 - Revise API for CDT Build GCC support
Export packages as "x-internal"

Change-Id: I592594aa402a5137c8e95346ab8c9acd858a557c
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:52:08 +03:00
Alexander Fedorov
3eb731ad8c Bug 561552 - CDT.setup should include tycho m2e project configurators
Add m2eclipse-tycho repository

Change-Id: Ieaf4a087680fbde6e2d724edb07cb1625689db95
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 01:53:48 -04:00
Jonah Graham
adb7247d5c Fix warnings in o.e.tm.terminal.control bundle
Change-Id: Ief69751ba4affc13240cfdb4b79e190b3356bbd9
2020-03-30 01:47:32 -04:00
Marco Stornelli
4a4c5fca4d Bug 561559 - Fix formatting def capture lambda expressions
We missed a space before the closing brackets if the proper option
was selected.

Change-Id: Ibbb09c3c961dc1b5e22aaa65ffb5d9878c2bb08b
2020-03-30 01:17:03 -04:00
Jonah Graham
1cb1cdaa9a Bug 561406 - Revise API for CDT Autotools
Setup API filters

Change-Id: Ie9f8fc399be84216bb092bd3a6b7612a564768d7
2020-03-29 13:38:45 -04:00
Jonah Graham
28268ad589 Bug 561319: Remove flickering in terminal when changing selection
This is done by buffering the drawing of the line of the terminal.

Change-Id: I593a3b99080d779046ea37497d93a25584c472c1
2020-03-29 11:04:23 -04:00
Jonah Graham
073035b54b [releng] Bring all CDT features to 9.12.0
Terminal and Launchbar are part of CDT so bring their feature
versions to align with CDT. This provides consistent release records and
bugzilla versions.

NOTE: this does not change Bundle Versions which continue to be
versioned based on Semantic Versioning.

Change-Id: I9f1eb4283e062e92372692bf3b3b4d4c41559dc9
2020-03-29 11:04:11 -04:00
Alexander Fedorov
d2b27d72dc Bug 561552 - CDT.setup should include tycho m2e project configurators
add "org.sonatype.tycho.m2e.feature.feature.group" to P2 Director

Change-Id: I0a3e811da1b1189227b17e1c05388a8bc00bb737
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-29 10:46:56 -04:00
Alexander Fedorov
d9b5d57514 Bug 561406 - Revise API for CDT Autotools
Setup API filters

Change-Id: I1147d697fa7c76b2da50502966ac60d1bcd0c74d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-29 10:54:59 +03:00
Alexander Fedorov
67acd6a200 Bug 561537 - Revise API for CDT Build Cross GCC
Export packages as "x-internal"

Change-Id: I5336442ce3939b64f8c84bd5167572479a70271e
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-28 14:42:54 -04:00
Alexander Fedorov
822508a83b Bug 561406 - Revise API for CDT Autotools
Export packages as x-internal" for test bundles

Change-Id: I6961e5f9e805cab13263d3407ac95b8006d8de43
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-28 14:38:02 -04:00
Alexander Fedorov
bf8d3595a7 Bug 561401 - Revise API for CDT Arduino Core and Arduino UI
.core should declare .ui as x-friend
export test packages as internal

Change-Id: Iaba184be069185eb191519209e30ad1e4a7b1777
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-28 12:09:00 -04:00
Nathan Ridge
65e8a04447 Bug 561088 - Some cleanups to VariableReadWriteFlags classes
Change-Id: I63c5333b4c97062229c7f421b4f152ba3f90a996
2020-03-27 01:36:47 -04:00
Alexander Fedorov
b65be51fc9 Bug 561406 - Revise API for CDT Autotools
Mark packages either "x-internal" or "x-friends"

Change-Id: I63a1ff904ed483de2591004e42b452e6b76c16c2
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-25 22:22:10 +03:00
Alexander Fedorov
1001e5fb39 Bug 561401 - Revise API for CDT Arduino Core and Arduino UI
Export all packages as "x-internal"

Change-Id: Ibf1b18d37bb73df80d4be823fa81fb99ea3fdf0e
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-24 12:58:24 +03:00
Alexander Fedorov
c664c76dcd Bug 561390 - Revise API for CDT CMake UI
- renamed package "org.eclipse.cdt.cmake.ui.properties"
to "org.eclipse.cdt.cmake.internal.ui.properties"
- exported all packages as "x-internal"

Change-Id: Iedf70fec4d3457b24fdfa288d87af855c560fbf4
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-24 08:46:09 +03:00
Nathan Ridge
ce97426688 Bug 561128 - Allow storing all local types in the index, not just typedefs
Change-Id: I4bb76e199557e2dfe1fcab3a435434612b3334a5
2020-03-23 15:23:57 -04:00
Marco Stornelli
5f316f4045 Bug 534420 - Add initial support for [[nodiscard]] attribute
Change-Id: I3bb7e1b4068c5e95a8247be152b9e428f9207bdc
2020-03-23 13:18:41 -04:00
Marco Stornelli
67b441b120 [releng] - Fix api version for code formatter options
Change-Id: I9e8fe2541355c0f066de0f11c31129298ec3f6e5
2020-03-23 15:40:58 +01:00
Marco Stornelli
c2f51a8d23 [releng] Bump CDT version to 9.12.0
org.eclipse.cdt.debug.gdbjtag is bumped because of Bug 561343

Change-Id: I6dac283b7e9093662f57ac5c804021c4201ad6f1
2020-03-22 14:05:17 -04:00
Jonah Graham
ce109e81cc [releng] Update help-docs-eclipserun-repo to use Platform 4.15
Change-Id: I4fcfba2b33ea511d58856ed2c3c6e51322661708
2020-03-22 13:33:47 -04:00
Martin Weber
268903ba01 Bug 561318: Recursively delete files without running out of handles
Change-Id: Ib760f53a22bb75f0447c633341728a49cdf8cbfb
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-03-21 19:17:54 -04:00
Jonah Graham
6f08d31fe9 [releng] Update dependency versions for build tools
Change-Id: Ie9632363243dfe7e186fff6871e15d452f4d73b7
2020-03-21 15:39:07 -04:00
Jonah Graham
f216c64ca8 [releng] Update target platform to latest dependencies
Change-Id: I1a5710bc4899f41e862998d6c5dcd6703c802a51
2020-03-21 15:39:07 -04:00
Alexander Fedorov
2e5ba637b8 Bug 561314 - Update CDT baseline target to CDT 9.11
Switched baseline to CDT 9.11 and SimRel 2020-03

Change-Id: I3520d2f0142eacbd198dded5647dd253f56f9c98
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Also-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-03-21 14:52:53 +01:00
Marco Stornelli
7a833fbb50 Bug 561088 - Fix read/write flags in case of dependent types
Change-Id: I072bb53a95d17137eb614bff34de6bd57a371d33
2020-03-21 02:34:48 -04:00
Nathan Ridge
c69bec4979 Bug 561124 - Pick a default test strategy in constexpr.TestBase
This allows constexpr evaluation test cases to be run individually
(using the default strategy).

Change-Id: Ib196f0c625580ab50b0abf79d57b54175b174f5f
2020-03-20 15:28:06 -04:00
Jeff Johnston
0a271afe3d Bug 560754 - Clicking on header with no extension brings up text editor
-  modify EditorUtility.getEditorInputForLocation() so that if we are
   dealing with an external Include element and we can't get a
   TranslationUnit then check the parent to find a contentTypeId and
   create an appropriate ExternalTranslationUnit to use in creating
   the ExternalEditorInput

Change-Id: Id99305606d058b8c105fe9b4099f5561620b07fd
2020-03-20 13:59:32 -04:00
Martin Weber
2359724b52 Bug 559674: initial import from cmake4eclipse
Change-Id: I3b9b5b1079ca8692ed0989baab281a1b79987267
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-03-20 11:48:20 -04:00
Marco Stornelli
c3346dd6cc Bug 561128 - Additional fix for lambda constexpr
Change-Id: Ieee1eb4a494ec452bb5f710b2ffafd62ad798d2a
2020-03-20 10:38:23 -04:00
Marc-Andre Laperle
a8b8573b8e [releng] Update platform to non-milestone P2 URL
Change-Id: Iaad9575aa88c1636c27d95a86e087229e4d478e2
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-03-20 09:42:48 -04:00
Marco Stornelli
16d73e0081 Bug 561128 - Add constexpr evaluation for lambda expressions
Change-Id: I28916218c7d2326407b28170ac051c18ec501f49
2020-03-15 16:15:41 +01:00
Marco Stornelli
f150522ad4 Bug 560483 - Add support for c++17 constexpr lambda expressions
Change-Id: Ic64ef646944c9d1b6f606f3b11f90ffed65ea95e
2020-03-13 06:45:49 -04:00
Felix Morgner
bcb955a321 541239: [C++17] Implement parser support for deduction guides
Change-Id: I1683583af981d276b346ba8470a9044cfd8921cd
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=541239
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
Also-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-03-13 03:35:34 -04:00
Jonah Graham
5823d56a2d Bug 559272: Add dockbook sources for "Setting up Eclipse CDT"
The content of the src/ directory is by Max Berger and is the docbook
sources.

Change-Id: Ibef6cf9f9931e9ea76b7c8fbef30e303a8631fdf
Also-by: Max Berger <max@berger.name>
2020-03-11 09:42:54 -04:00