1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00
Commit graph

26109 commits

Author SHA1 Message Date
Nathan Ridge
c39ddef02f Bug 545756 - Handle the case where CPPVisitor.get_SIZE_T() returns a typedef
Change-Id: Ib30c68c4d7de72d9a6cb2a90b9030aaad4932e6f
2019-04-03 23:24:38 -04:00
Jeff Johnston
5bd43cf304 Bug 545819 - Meson properties dialog doesn't work with meson 0.50.1
- fix meson properties page to use meson setup -h
- reenable meson ui tests
- fix CMake New Project test to wait for shell open/closes
- fix regression in EvalUnaryTypeID that is made visible by
  CMake New project test

Change-Id: Id64d4df6d9764d0c84553b5c4f73fa44149bda19
2019-04-03 10:20:28 -04:00
Hannes Vogt
d9550199f8 Bug 545756 - Aggregate: init char array from literal
Implement [dcl.init.string] in aggregate initialization

Change-Id: Ib6cf51cf08885dbfc281814c6521da3579301492
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-04-02 08:08:41 +02:00
John Dallaway
f85e3146d3 Bug 545941: Match launch configuration type
Change-Id: I552ea86b65782f1781d84f2e1fe9b0b8e435e3bd
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-04-01 01:48:49 -04:00
Hannes Vogt
c2779e8d3e Bug 545957 - Fix for brace elision rule
Change-Id: Ie470c1d9a986beb1b177e3d3d571071f6ed1b8f8
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-03-30 19:10:09 -04:00
Nathan Ridge
fc45110844 Reduce template argument nesting depth limit
AST2TemplateTests.testTemplateArgumentNestingDepthLimit_512297() is
failing in the new CI infrastructure, presumably due to having less
stack space?

Change-Id: I05a67cc1492fed3ffe8840e32a1bc4ce7f6b75a7
2019-03-30 18:03:32 -04:00
Hannes Vogt
3a95ee0655 Bug 545756 - Fix initialization of constant expressions
- propagate associatedNumericalValue in sizeof()
- set associatedNumericalValue from LiteralExpression

Change-Id: Ibf1fdb70e7bbbb889113f337a0b12532c5040300
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-03-30 17:10:48 -04:00
William Riley
92272c6465 Bug 545624 - Skip LaunchConfigurationAndRestartTest
Failing and causing all other GDB tests to fail

Change-Id: I14314b8569d0e117ee9b5db6af33f3b3708d82be
2019-03-27 05:08:14 -04:00
Nathan Ridge
2cdbc5ebb6 Bug 545751 - NPE in EvalTypeId.getValue()
Change-Id: Ia11dc1a8af6633ffe54ca927c68bf8dc837604a0
2019-03-26 02:07:31 -04:00
Marco Stornelli
f2635eed74 Bug 545562 - Fix return checker check for template functions
Change-Id: Ie5e3d4560cb3784f6c8393290d64794db56294d7
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-21 20:41:26 +01:00
Marco Stornelli
e70a63a424 Bug 519105 - Return checker for functions with noreturn
Added check in control flow graph to check if a function
has noreturn attribute.

Change-Id: Ieaa5984a337493e3aac12c0f6fbeeb91a754358b
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-21 19:02:27 +01:00
William Riley
8220215a2e Bug 545624 - Disable failing tests
Change-Id: I60d34ca269482b089d738f5b911378bc1bd57238
2019-03-21 11:46:47 -04:00
William Riley
47ae8d9cbf Bug 545624 - Disable Debug RCP deployment
Change-Id: I7ab18048e0a2d5282f8c063a4bb0524aa6f1f3bc
2019-03-21 11:45:50 -04:00
William Riley
1d7ed13b6b Bug 545624 - Disable nightly upload in "production"
Will be replaced by upload step in pipeline

Change-Id: I17ca9b105994e389366815023170456b5be7fda8
2019-03-21 06:26:36 -05:00
Nathan Ridge
d87b844e12 Bug 545360 - Completion in namespace alias
Change-Id: Ica4955409780f4d5000356ffe5d56dc0ce787ee7
2019-03-21 01:50:14 -04:00
Marc-Andre Laperle
084288dee9 Remove warning of illegally extending ImageRegistry
Delegate to an instance of ImageRegistry instead, which is legal.

Change-Id: Ife10b526c54483143a9ef5599c4571844a60604d
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-03-20 19:13:33 -04:00
Jonah Graham
c21d3f553e [releng] Update platform to non-milestone P2 URL
Change-Id: I4d910dcb0cff13b8217f8397fd31db7ca204e860
2019-03-20 13:29:04 -04:00
Hannes Vogt
3e674afd51 Bug 545192 - Convert directory path in docker for windows
Change-Id: I69c09d391e333495b57f09d7b7f5818a5428424f
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-03-20 11:36:39 -04:00
Marc-Andre Laperle
d84e61890d Update API baseline to 9.7.0
Change-Id: I832b6ba5c3219f32d7e8a4d002e6e72a3bba4f2c
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-03-18 20:58:28 -04:00
Marc-Andre Laperle
040372be48 Build with Eclipse 2019-03 dependencies
CDT nows defaults to targetting Eclipse 4.11 along with dependencies in the
Eclipse 2019-03 simultaenous release.

Once consequence is that 32-bit and ppc64 fragments are removed.

Change-Id: I032fedb27a4e5086f10051b3b2ca9c9c59c3b965
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-03-18 20:44:27 -04:00
Jeff Johnston
65d40fbacf Bug 545463 - Docker Build occasionally shows unknown includes in editor
- add checks in CBuildConfiguration so that a scanner info that has
  no include paths stored should be treated as no scanner info and
  the data should be fetched again

Change-Id: I6820c56304aed568a58b6058145e912d71fa33c1
2019-03-15 19:33:03 -04:00
Kondal Kolipaka
02ecf97abe Bug 545335: Fixed serial port is not getting saved issue
Change-Id: I6e0c3392a5bacbac8c4741adab58a234f8efae54
Signed-off-by: Kondal Kolipaka <kondal.kolipaka@gmail.com>
2019-03-13 16:11:21 +05:30
Karsten Thoms
55c3c3e80a Fix typo in Javadoc
Change-Id: I0a310cc8f955674cfbccedfbc4e60c02e274b7c5
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-03-08 13:58:28 +01:00
Marco Stornelli
3113871624 Bug 543947: Fix exception while formatting macro
Change-Id: If3e1a4da919c4e7f78ca4506e97ea1f6f37f7c8c
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-06 19:08:17 +01:00
Marco Stornelli
f28b158828 Bug 540252: Fix formatting operator< with explicit instantiation
A space must be forced in this special case even if preferences
say something different.

Change-Id: Ie43b988139913f87590f4f1460d28e79f9bd7ef8
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 13:52:07 -05:00
Felix Morgner
659432f7e2 Bug 544535: Buttons in "Explore Macro Expansion" are not active
Refresh the toolbar buttons after registering the command handlers, to
make sure that they are active.

Change-Id: Ibee71a54fff7be0325257d25247e4e73f8b09b2e
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=544535
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2019-03-04 16:17:23 +00:00
Marco Stornelli
97e18b4b31 Bug 544980: Added a checker for using directive in header file
Change-Id: Ic77fd2f7504e7a6cc4e15a2fdeb507724db9e74f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 09:36:50 -05:00
Marco Stornelli
5ac0c37e6b Bug 406231: Fix exceptions while formatting template id in macro
Fix a couple of exceptions in formatter flow during operations on
template id in macro.

Change-Id: I768c29e1bd24b1336423b298a22b4016eb96e9c3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 08:09:25 -05:00
Marco Stornelli
04cc77cf2a Bug 278903 - Do not format any code in inactive regions
Not active regions of code may not be formatted.

Change-Id: I3796bd84bf4101cec55ef9f35f9703e8bc46092e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 05:41:56 -05:00
William Riley
2d29c1683e [releng] Set baseline to fixed repo
Change-Id: I5cd45335dd95b0a0b930c1fdea73572c53b42d78
2019-03-04 03:16:40 -05:00
Jonah Graham
cdc99feef2 [releng] Bump version to 9.8.0
Change-Id: I3861d4c5d0eecaf9dd370f269a655e666b60561a
2019-03-01 13:25:21 +00:00
Jonah Graham
481e4f13f0 Bug 544944: Add a description for new Arduino Project
and fix wording of makefile project. These are to take
advantage/improve based on new platform feature:
https://www.eclipse.org/eclipse/news/4.11/platform.php#onboarding-text
which was done in Bug 543746

Change-Id: I4b6c5812adbf0c94e7dd60c80b5150f524e065e5
2019-03-01 11:29:10 +00:00
Hannes Vogt
1370c76c38 Bug 544681 - Support for template<auto...>
Change-Id: I059d69ee86603c1aed95eeed1be61b915df6e3ed
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-03-01 01:46:08 -05:00
Nathan Ridge
4a35647d1f Bug 544509 - Evaluation of negative integer cast to unsigned
Change-Id: I683045870eca5f1b013afddbc0938df2aef779c2
2019-02-28 20:45:43 -05:00
Jonah Graham
783af3dee6 Bug 544721: Increment version following new standard
See https://wiki.eclipse.org/CDT/policy#Version_Numbering

Change-Id: Icac4c041d2ea1178ab40bd97531d014c4be22675
2019-02-26 09:04:57 +00:00
Jonah Graham
1d5fb2f299 Bug 543353: Increment version following new standard
See https://wiki.eclipse.org/CDT/policy#Version_Numbering

Change-Id: I5632125e6b5709336c8f4b319ce244cc1535b67d
2019-02-26 09:03:49 +00:00
Hannes Vogt
d42c60b651 Bug 543038 - Addition to brace elision for aggregate init
- getNestedType for typedefs
- check aggregate initialization in EvalTypeID

Change-Id: I04ab2088c85373007312f7a419eb508ab53f69c8
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-25 17:25:04 -05:00
Marc-Andre Laperle
c626ede917 Bug 543958: CDT Standalone debugger crashes on startup
org.apache.felix.scr now needs a start-level.

See also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=538729

Change-Id: Ia6f83a93449aeb32566be8893237e4bd2842b462
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-02-24 16:19:56 -05:00
Toni Suter
182de94259 Bug 544470. Fix code formatting of switch with controller declaration
Change-Id: I0d18b5767503e6bb3d137c9950b023f5c5084bd8
Signed-off-by: Toni Suter <tsuter@hsr.ch>
2019-02-22 10:01:29 -05:00
Philip Langer
90c82078ac Bug 544721 Retain rebuildState state when cloning build configs
When cloning build config, all its childrens' rebuildState and dirty
state are maintained except for the states of AdditionalInput and
InputOrder.

With this change, we also retain their rebuildState and dirty state,
if it is a clone (that is, copyId is true in the InputType).

Change-Id: I63b2d38d0065e50357887bfccb340d458d2f4441
Signed-off-by: Philip Langer <planger@eclipsesource.com>
2019-02-22 14:52:52 +01:00
Felix Morgner
2272a74f38 Bug 520117: [C++14] Return type deduction deduces wrong type for
parenthesized expressions in return

This patchset fixes 520117 and adjusts the value category of expressions
of kind E1.E2 to be standard (DR616) compliant.

Change-Id: I9a5cde805f2d0b39a2d263dbc3dcbefd3ba21930
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2019-02-22 03:29:05 -05:00
Hannes Vogt
0757b45da5 Bug 543038 - Implement brace elision for aggregate initialization
Change-Id: I72e92c8c196bf201c8edfde64598a7318d2fdfeb
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-19 18:38:05 -05:00
Bassem Girgis
d8c2330efe Bug 509751 - Process function template with non-dependent return type in ReturnChecker
Change-Id: I8274affff8152dba35233a06cd8cdaef39cf00bb
Signed-off-by: Bassem Girgis <brgirgis@gmail.com>
2019-02-19 18:15:19 -05:00
Marco Stornelli
a6d06902b1 Bug 496249: Tags for disabling/enabling CDT code formatter
Change-Id: I4389c61612da6a4ee0011a49d6aeed7b52152436
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-19 20:49:58 +00:00
Felix Morgner
f60bbf25dd Bug 544539: Codan requires universal resolution from plugins
Change-Id: Ia7da2450d90e644d270928dacb86a2c470982c10
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=544539
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2019-02-19 09:10:36 +01:00
Marco Stornelli
8fe6bbb70e Bug 544516: Format edited lines as save action
Change-Id: I988eb34c433aa121ce2afb1da51984ab4fb24b09
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-17 19:08:29 +00:00
Jonah Graham
9465c8bd50 [releng] Update baseline to CDT 9.6
Change-Id: Ia4d74f82002dfd51d471799f2e9e4229d0201143
2019-02-17 16:46:08 +00:00
Simeon Andreev
db1326bbb3 Bug 543129 - NPE in GdbFullCliConsolePage.dispose()
With the fix for bug 536677, disposing a org.eclipse.ui.part.Page will
dispose also its site.
org.eclipse.cdt.dsf.gdb.internal.ui.console.GdbFullCliConsolePage.dispose()
calls super.dispose() and then accesses the page site, which results in
a NPE.

This change changes the order of disposal to the natural order,
extending class first and then the super.

Change-Id: I853c8c426b9ea4e1403cd9af34f9878f6379f72a
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-14 16:12:39 +01:00
Simeon Andreev
31b4c257b1 Bug 509263 - Fix warnings for missing enablement expression on start-up
This change adds empty enablement expressions where they are missing, in
order to prevent start-up warnings such as:

Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType

Change-Id: Id7f2b6149230ddde24764772c5b67ff5eef28b65
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-07 13:00:41 -05:00
Jonah Graham
ec54cf7241 Bug 544244: Stop using deprecate code from LSP4E
Change-Id: Ie82af8a2af56870cafcfd332166942d8080aab26
2019-02-07 16:53:02 +00:00