1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

21168 commits

Author SHA1 Message Date
Marc Khouzam
ce371e5f5c Bug 394408: Support enhanced-expressions for local variables. Proper
sorting of enhanced-expressions representing arrays.

Change-Id: I87e9ca5f3422fa51a32d2b80e6c0c0c62fdf8b2b
Reviewed-on: https://git.eclipse.org/r/9297
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-12-19 06:02:04 -05:00
Marc Khouzam
cd7ffb2dbf Bug 394408: Support enhanced-expressions for local variables. This
includes special handling for array indices.  Furthermore, we now
require the '=' prefix for all glob-pattern expressions, including
registers.

Change-Id: If929d539b80d282df383c44d1487611fda928613
Reviewed-on: https://git.eclipse.org/r/8881
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-12-18 14:29:18 -05:00
Mikhail Khodjaiants
88e488b1ff Bug 392512: Support GDB breakpoint notifications. JUnit tests.
Change-Id: I0c0ab0f2e419a931073f229192e0b70fcc25a7b6
Reviewed-on: https://git.eclipse.org/r/9006
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2012-12-17 16:06:14 -05:00
Markus Schorn
c5d08937e2 Bug 396663: Throw expressions within conditional expressions. 2012-12-17 14:53:37 +01:00
Andrew Gvozdev
7c92e3e070 bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-16 23:52:16 -05:00
Andrew Gvozdev
7e38f66a54 bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-16 11:24:06 -05:00
Andrew Gvozdev
0a4170fed0 bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-16 07:18:39 -05:00
Marc Khouzam
963f1bf26e Cosmetics 2012-12-14 14:28:19 -05:00
Pawel Piech
7ef969fe79 Bug 396466 - [breakpoints] warnings in log related to toggle breakpoint actions 2012-12-13 21:11:28 -08:00
Marc Dumais
c2605537bc Bug 365776 - [breakpoints] Add breakpoint action to toggle reverse
debugging.


Change-Id: I065297685fefba76df7ad40c578a0ce5d0c40fba
Reviewed-on: https://git.eclipse.org/r/8982
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-12-13 14:50:24 -05:00
Andrew Gvozdev
e58a3323c8 bug 396411: JUnit failure, correction of expected results for Unix 2012-12-13 10:17:57 -05:00
Andrew Gvozdev
cce302595e bug 396411: JUnit failure: cdt.managedbuilder.core.tests.ManagedBuildCoreTests20.testScannerInfoInterface 2012-12-12 11:03:25 -05:00
Marc Dumais
ca6f6aa2aa Bug 396293 - [Visualizer] right side cpu_margin not taken into account
when deciding if a new line of cores is needed

Change-Id: I60eb0f138e1cfea9fd539cc52b83f51a7c300e67
Reviewed-on: https://git.eclipse.org/r/9158
Reviewed-by: William Swanson <traveler@tilera.com>
IP-Clean: William Swanson <traveler@tilera.com>
Tested-by: William Swanson <traveler@tilera.com>
2012-12-11 13:35:06 -05:00
Marc Dumais
99699d2fd7 Bug 396200 - [Visualizer] m_recache is never reset to false
Change-Id: I910f422f6548639ff3ca3189f1e2995ed9bda22c
Reviewed-on: https://git.eclipse.org/r/9142
Reviewed-by: William Swanson <traveler@tilera.com>
IP-Clean: William Swanson <traveler@tilera.com>
Tested-by: William Swanson <traveler@tilera.com>
2012-12-11 13:20:01 -05:00
Marc Dumais
601d922e22 Bug 396184 - [visualizer] - m_cpuMap and m_coreMap are not cleared when
re-caching

Change-Id: I68147082d4c0948b03d3efe7487ec75c8daa7cbf
Reviewed-on: https://git.eclipse.org/r/9137
Reviewed-by: William Swanson <traveler@tilera.com>
IP-Clean: William Swanson <traveler@tilera.com>
Tested-by: William Swanson <traveler@tilera.com>
2012-12-11 11:34:40 -05:00
Marc Dumais
c916dfe4e7 Bug 396076 - [Visualizer] Cores displayed non-optimally when there are
multiple CPUs

Change-Id: Ib043630b29ba1c25bd5fd8ee08c68e3ca388bb68
Reviewed-on: https://git.eclipse.org/r/9110
Reviewed-by: William Swanson <traveler@tilera.com>
IP-Clean: William Swanson <traveler@tilera.com>
Tested-by: William Swanson <traveler@tilera.com>
2012-12-10 15:03:37 -05:00
Sergey Prigogin
880ac74b26 Revert "Bug 395243 - Error involving dependent expressions"
This reverts commit f429bd5482.
2012-12-07 16:59:27 -08:00
Sergey Prigogin
8f09f3af07 Bug 395875 - An alternative fix that preserves semantics of
CPPVisitor.findEnclosingFunction method.
2012-12-07 14:32:29 -08:00
Nathan Ridge
c21f219ab7 Bug 395875 - Error involving dependent expression in index
Change-Id: I2f50373220a02d5856fb88cf040c44de28fb5a79
Reviewed-on: https://git.eclipse.org/r/9064
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-07 17:08:49 -05:00
Nathan Ridge
88b19449f2 Bug 389782 - Error with uniform initialization involving conversion
Change-Id: I2a8227b187bd3b4f7fcc7b7a9b9f0b1c9f289117
Reviewed-on: https://git.eclipse.org/r/9058
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-07 14:51:06 -05:00
Nathan Ridge
63a7756b6c Bug 395243 - Error involving dependent expressions
Change-Id: Ie15f8415f930248c54041f0f2e60149874e670e8
Reviewed-on: https://git.eclipse.org/r/9062
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-07 13:56:20 -05:00
Nathan Ridge
d159cd9545 Bug 379631 - code-completion of functions in using-declarations
Change-Id: Ifae9e0e790629e03c1ad93988ea535e42373d448
Reviewed-on: https://git.eclipse.org/r/9066
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-07 13:32:29 -05:00
Nathan Ridge
032c010a82 Bug 395018 - False 'member was not initalized in this constructor'
warning for defaulted copy/move constructor

Change-Id: Ib7800e46174b195fd15daef923abfff482fd3aff
Reviewed-on: https://git.eclipse.org/r/9059
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-07 13:11:57 -05:00
Andrew Gvozdev
7582b75465 Fix unit test case failure due to warning in .log 2012-12-07 10:23:33 -05:00
Andrew Gvozdev
05d97a6e80 Log exception when no program for launch is found. 2012-12-07 07:39:45 -05:00
Nathan Ridge
8cf540fbf6 Bug 365498 - Strange warning placement for defaulted constructor
Change-Id: Ia80fbd9694310aff0900e80cb9175e101c653604
Reviewed-on: https://git.eclipse.org/r/9065
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 21:22:45 -05:00
Pawel Piech
b2238a81f4 Bug 395873 - [breakpoints] breakpointContribution conditional contribution doesn't check for missing property
Change-Id: If75c23f393c1fc983de1ddd4ddea3b003c1ec1b3
Reviewed-on: https://git.eclipse.org/r/9050
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2012-12-06 20:33:03 -05:00
Nathan Ridge
f2d8b90495 Bug 395247 - Error involving variadic constructor
Change-Id: Ia5f911e0a80a5372943a505b814c333c53a5a602
Reviewed-on: https://git.eclipse.org/r/9061
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 18:54:26 -05:00
Nathan Ridge
22c8d75b1a Bug 395019 - Error when using __is_base_of
Change-Id: Ife9a63658555b7a94246b0d938dd139bb8d0ab08
Reviewed-on: https://git.eclipse.org/r/9060
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 18:35:58 -05:00
Nathan Ridge
3fa775ca1d Bug 388623 - [regression] Error involving dependent expressions
Change-Id: I5d32ca41b7d87d0f220b192889e3908a0f7c84fd
Reviewed-on: https://git.eclipse.org/r/9057
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 17:13:14 -05:00
Andrew Gvozdev
618d199135 Updated MBS test cases to report when some preconditions fail. 2012-12-06 17:04:56 -05:00
Nathan Ridge
84c076ae46 Bug 388398 - SFINAE for default template arguments
Change-Id: Id4af11365046a57f997de0ee3715cf5ccef9d630
Reviewed-on: https://git.eclipse.org/r/9056
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 14:47:51 -05:00
Andrew Gvozdev
370c25c50b bug 395976: NPE in BuildConsoleViewer when widget is already disposed 2012-12-06 14:42:22 -05:00
Nathan Ridge
dcae834c8b Bug 388287 - False ambiguity in overload resolution with function
objects

Change-Id: If7447f6c73e9f03e31cf0f292c4a9e73591e1936
Reviewed-on: https://git.eclipse.org/r/9055
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 14:21:34 -05:00
Sergey Prigogin
501eca12f9 Bug 395884 - Fixed yet another bug introduced in the previous commit. 2012-12-05 21:57:48 -08:00
Sergey Prigogin
4049307f4b Bug 395884 - Fixed a bug introduced in the previous commit. 2012-12-05 21:48:42 -08:00
Sergey Prigogin
97e1e23742 Bug 395884 - ClassCastException in EvalBinding.getParameterOwner 2012-12-05 21:34:18 -08:00
Sergey Prigogin
8df9065265 Cosmetics. 2012-12-05 19:39:01 -08:00
Sergey Prigogin
2b338f5d00 Bug 395882 - ClassCastException in
CPPVariableReadWriteFlags.rwInCtorInitializer
2012-12-05 19:37:47 -08:00
Sergey Prigogin
3ec58f2fc3 Fixed StackOverflowError in auto type calculation for "for (auto a : a)" 2012-12-05 19:22:08 -08:00
Sergey Prigogin
ec5e814054 Cosmetics. 2012-12-05 18:19:18 -08:00
Sergey Prigogin
bac77d5009 Formatter support for defaulted and deleted functions and for rvalue
references.
2012-12-05 15:40:40 -08:00
Andrew Gvozdev
4deb1a2831 bug 395304: Selection of language settings provider not always accurate for the current configuration 2012-12-05 17:50:59 -05:00
Sergey Prigogin
679683b6c9 Bug 393068 - Constructor call is treated as write access for arguments 2012-12-04 20:48:47 -08:00
Sergey Prigogin
91bbd935e4 Cosmetics. 2012-12-04 20:48:37 -08:00
Thomas Corbat
27e31de424 Replacement of the CPPNameCollector with BindingAssertionHelper in
Template Alias tests.

Sergey suggested to make the Template Alias tests more readable by
replacing the CPPNameCollector with BindingAssertionHelper. I did this
where it was possible. I.e it was still required in tests asserting an
instance count of a binding. But to acquire those references the
BindingAssertionHelper is used as well. For comparison of those bindings
I have added a method for creating a CPPNameCollector with a given AST.

Change-Id: I19b11cbabe5c4c0fa57965d6f97e0db5dfa5575a
Reviewed-on: https://git.eclipse.org/r/9020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-04 23:47:08 -05:00
Sergey Prigogin
530290d37a Bug 395238. Evaluation of constexpr functions. Also few fixes related to
alias templates.
2012-12-04 10:36:07 -08:00
Sergey Prigogin
e2d862e8ed Revert "Bug 395238. Evaluation of constexpr functions. Also few fixes
related to alias templates." The commit was reverted since it introduced
StackOverflowErrors during indexing.

This reverts commit 9710ad9bb6.
2012-12-03 12:21:57 -08:00
Sergey Prigogin
5161f8de9a Missing pieces of __int128 and __float128 support. 2012-12-03 10:39:20 -08:00
Sergey Prigogin
9710ad9bb6 Bug 395238. Evaluation of constexpr functions. Also few fixes related to
alias templates.
2012-12-03 10:39:01 -08:00