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

23500 commits

Author SHA1 Message Date
Nathan Ridge
0221ee20b1 Bug 441714 - Consider spurious semicolons in CaseBreakChecker
Change-Id: Id4fe394164063007c45da37ae82cc730a9e726dd
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-16 01:48:37 -05:00
Nathan Ridge
155fa65c1c Fix a typo in org.eclipse.cdt.codan.ui.cfgview/plugin.xml
Change-Id: I41aeb1195e9d8b663de396883e0aa6e4f3b5c6e4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-16 01:45:53 -05:00
Nathan Ridge
a662bcc921 Bug 448764 - Type of EvalMemberAccess for dependent member
Change-Id: I011ceca370e584e802354f935cc9ce004641f8f1
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-16 01:44:56 -05:00
Nathan Ridge
5e2c5d8491 Bug 459940 - Sfinae in id-expression
Change-Id: I6cfaf2af680c3b41571d4714f9a5511ff81af42b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-13 22:42:41 -05:00
Marc Khouzam
04f7079574 Remove dead code
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:20:47 -05:00
Marc Khouzam
59e43f8253 Close resources
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:18:44 -05:00
Marc Khouzam
002e422dac Remove unused private method
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:14:09 -05:00
Marc Khouzam
ae2b10f980 Parametrize type
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:12:45 -05:00
Marc Khouzam
cba4006e97 Remove unnecessary SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-13 16:09:37 -05:00
Nathan Ridge
145728cd74 Bug 459844 - Pack expansion in nested template
Change-Id: I0f206c2b056f0e9ba388cb9f8e78ea331616a61f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-13 03:00:45 -05:00
Marc Khouzam
d266f8656e Remove unnecessary .api_filters
Note that
memory/org.eclipse.cdt.debug.ui.memory.traditional/.settings/.api_filters
needs to be kept because:
1- it removes warnings about implementing provisional APIs
2- that plugin sets warnings as errors, so warnings are not allowed

Change-Id: Id4bcc9cd78c4c6678ef749cfe276e5a9945efa1e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-11 15:48:32 -05:00
Marc Khouzam
0e041e8e86 Bug 459688 - Label in breakpoint thread filter dialog should match debug
view 

Change-Id: I3d74c3316f5acbf2b6aadc0b6e99e7081384f401
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-11 11:17:47 -05:00
Nathan Ridge
7f377190a8 Bug 452416 - Adjust a comment about PDOM versioning
Change-Id: Ia3b20bdcb3bd82ba742ad9a1a36092a658d30238
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-10 04:11:27 -05:00
Nathan Ridge
6a87e3014d Bug 452416 - Handle variadic functions in variable read/write analysis
Change-Id: Ib28574d3cdc14fc380e6ceb8b2ba4a240b2316c6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 16:44:06 -05:00
Nathan Ridge
fd11d42d89 Bug 452416 - Move takesVarArgs() up from ICPPFunctionType to
IFunctionType

Change-Id: Ifd0cf6c4ca026587f2bbccfbc3d7f849c95b92de
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 16:44:05 -05:00
Nathan Ridge
34c84eba3c Bug 459279 - Size of string literals with escape characters
Change-Id: I5fa96ce722db657d5ff4a3557d3add04e991ab88
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 00:11:40 -05:00
Nathan Ridge
f7cf56f4c5 Bug 458316 - Unqualified function call with dependent argument and
non-matching overload in scope at point of declaration

Change-Id: I2fc42e9ef9258c3c56791001217572fdd08f5025
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 00:13:41 -05:00
Nathan Ridge
327709c58e Bug 457770 - Size of empty structure
Change-Id: Id6f02228968986090867b2053c7815e594a404c1
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-08 23:23:18 -05:00
Michi
8a896c57ed Bug 459389 - [code assist] no members for deeply nested class templates
Change-Id: Ia6b3461325a9c489d10dd1356d46e7e6b6ee61f0
Signed-off-by: Michi <woskimi@yahoo.de>
2015-02-08 14:38:04 -05:00
Nathan Ridge
23938e2b3d Bug 445177 - Fix an over-eager optimization that can discard a desired
alternative in TemplateIdStrategy

Change-Id: Ia82460e5e3a3420cbb13f7abd698f0173336b123
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-08 03:48:14 -05:00
Marc Khouzam
2c1113c590 Bug 456959 - Disable test for versions of GDB that don't support it
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-07 19:33:34 -05:00
Sergey Prigogin
3cbb643870 Bug 459186. Added safeguards against misuse of content assist contexts 2015-02-06 15:25:09 -08:00
Sergey Prigogin
eaabc8eb34 Cosmetics. 2015-02-06 14:20:50 -08:00
Sergey Prigogin
9d2804b6a0 Bug 459186 - Index read locks are leaking 2015-02-06 14:15:03 -08:00
Sergey Prigogin
3042d38e0d Revert "Bug 438549. Add mechanism for parameter guessing."
This reverts commit 69aa2d0bf0.
2015-02-06 14:12:55 -08:00
Sergey Prigogin
1b6b3f0f06 Revert "Cosmetics."
This reverts commit e98bf3e3e3.
2015-02-06 14:12:45 -08:00
Sergey Prigogin
9de6de9fd4 Revert "Bug 459186 - Index read locks are leaking"
This reverts commit dc08061cc6.
2015-02-06 14:12:02 -08:00
Sergey Prigogin
a424fc6329 Cosmetics. 2015-02-06 10:55:00 -08:00
Marc-Andre Laperle
312aebf72b Enable assertions (-ea) in default launch configuration args
Target definitions and Oomph setup can specify default arguments for launch
configurations. Enabling assertions is especially useful when doing development
in DSF components.

Change-Id: I9bf56515559804b966fd7d3be0cabb726ddf5c4e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:14:42 -05:00
Marc-Andre Laperle
afd11359e6 Extract test VM args to common property base.test.vmargs
This makes it easier to change arguments for all tests. As a side-effect,
all tests now enable assertion (-ea) and have the same max heap size, etc.

Change-Id: I0965d40ba3283efe7eacdf927f6c302ee0ab30f0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:02:28 -05:00
Marc Khouzam
7f0174bec5 Update description of Standalone Debugger SDK
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-05 14:28:14 -05:00
Sergey Prigogin
03e69933b1 Bug 459179 - ClassCastException in CPPSemantics.getParentScope
Return proper global scope in QtPDOMLinkage.getGlobalScope() method.
2015-02-04 21:38:28 -08:00
Sergey Prigogin
b465383510 Bug 459179 - ClassCastException in CPPSemantics.getParentScope
Fixed compilation error in QtPDOMLinkage.java.
2015-02-04 21:34:53 -08:00
Sergey Prigogin
dc08061cc6 Bug 459186 - Index read locks are leaking 2015-02-04 20:45:30 -08:00
Sergey Prigogin
e98bf3e3e3 Cosmetics. 2015-02-04 20:38:29 -08:00
Sergey Prigogin
c89ac99edf Bug 459179 - ClassCastException in CPPSemantics.getParentScope 2015-02-04 15:11:39 -08:00
Alena Laskavaia
d3718b536f Bug 458091 - Debug frames - cache part II
- added more comments and fixed copyright
- changed one the functions in cache class from private to public
- changed request for stack frames to request for stack depths in
getFrames fallback
- removed an extra private function which is not used anymore

Change-Id: I405e0ad61c6f9bf00bdccd041c0897f423f0b947
2015-02-04 14:24:07 -05:00
Michi
3cf9300566 Bug 459047 - [AccessContext] namingClass not found for nested class
specializations

if a binding is a member of a ClassInstance (owner) we should not try to
find a corresponding class template (target).

Change-Id: Ic865161f137ecb2a300afd03761cc26ee758b38b
Signed-off-by: Michi <woskimi@yahoo.de>
2015-02-04 11:55:03 -05:00
Nathan Ridge
9ca379e67f Bug 458679 - Ranking list-initialization sequences with user-defined
conversions

Change-Id: Ia976acf656f3431f96880b32fedc575a56c4e86b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-04 11:29:07 -05:00
Simon Marchi
3cf7241ccb debug tests: Remove fWait field from GDBProcessesTest
Re-using the waitor between tests possibly a dependency between tests
(e.g. on the order they are ran). It would be easy to forget to add an
fWait.waitReset() to a test and break another test.

It is safer to create a new one every time, while the performance hit is
negligible.

Change-Id: I404d240b29dddffb07899e7e529e7205282bd1d2
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-04 11:26:29 -05:00
Simon Marchi
a96fcd5a37 debug tests: MIMemoryTest: Use assertEquals instead of assertTrue when
possible

Change-Id: If9fc8f3f0f1f2070b7bc4ea6dc23778001dc0092
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-04 11:22:18 -05:00
Alena Laskavaia
d41b69136d Bug 458091 - Debug frames - cache
- Implemented cache for stack trace (replaces original stack depth
cache with a cache of frames and depth)
 - This is mostly done to mitigate bugs in gdb but it will also help
speed up the debugger since the mi cache doesn't cache commands with
different limits and does not know that if we requested frames already
we don't need to ask about stack depth anymore
 - In case of unrecoverable errors I will also return some constant
depth like 5, later the front end will ask to fill it up and in many
cases gdb will be happy to do that, even if it failed to report the
proper depth in the first place. We originally just returned 1 but it is
really not enough for most of the cases. This will result in potential
white gaps at the end of trace, but it is better then showing just the
first frame when we have errors

Change-Id: I24b42fd7ffea082e8064a9c5348fd95c5f7777be
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-02-02 10:22:56 -05:00
Simon Marchi
59854a48cd debug tests: Factor out duplicated code in MIMemoryTest.memoryCachedRead
Change-Id: I8ee7883e96e99d2daebe7a3748d4e5e6b3a165fe
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:47:19 -05:00
Simon Marchi
9ae9ed49f6 debug tests: Use SyncUtil's memory functions in MIMemoryTest
Change-Id: I47b9e4e65d418743da97bfddb78bfdce29f3c688
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:46:06 -05:00
Simon Marchi
e11bdc4502 debug tests: Use SyncUtil.readMemory in PostMortemCoreTest
Change-Id: I2572e7f9bef8512bd32df7c040f3f12506dc5453
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:44:45 -05:00
Simon Marchi
5500e418c9 debug tests: Use SyncUtil.readMemory in GDBConsoleSynchronizingTest
Change-Id: Ied75ccb790842a746f09e3d7b51bb9225891af96
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:41:45 -05:00
Marc Khouzam
624446b2c3 Bug 458499 - Unable to debug when GDB command contains additional
arguments

Change-Id: I0cfb07dd04d28062a653f76dbd23510d712e4c71
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-01-30 16:14:15 -05:00
Simon Marchi
b662f3b063 debug tests: Add memory access functions to SyncUtil
Unlike those in AsyncCompletionWaitor, these functions are based on
queries. The patch also changes occurences in MIMemoryTest where it
makes sense to use synchronous functions.

Change-Id: Id5e47b7634153d916bf896e47f6cc48f1a4727bd
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-01-30 15:17:55 -05:00
Marc-Andre Laperle
619216fca4 Add build flag (-DskipDoc) to be able to skip building documentation
Building documentation can take several minutes and is often not necessary.
I suggest that we leave it on by default so that people building locally
still get a full, consistent build of CDT but that it should be possible to
skip it on demand.

My build time went from 4:14s to 1:45s (without running tests).

Change-Id: Ic7c4535f3faf82080534d39ccbe6f452d8b52317
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 22:07:31 -05:00
Marc-Andre Laperle
c6156d2ee6 o.e.cdt.debug.application should export its packages
Change-Id: Ifeb5f78d776eca939187738180434000b0b2f8b2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 17:42:05 -05:00