1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 12:05:21 +02:00
Commit graph

1450 commits

Author SHA1 Message Date
Nathan Ridge
4ff8bab2fb Bug 440940 - Remove a couple of test classes that are no longer useful
Change-Id: I664a77c49fc58120cab6f2c78c8ed57edc87fa7b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 17:24:36 -04:00
Nathan Ridge
55475a9fea Bug 463234 - When disambiguating between targets for Open Declaration,
only prefer a method to a class if the method belongs to that class

Change-Id: I8cf9aed692ce989d83cc8ffd08672a3ee73a1c8b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 16:49:27 -04:00
Nathan Ridge
c89901c49a Bug 463234 - Infrastructure for testing ambiguous targets for Open
Declaration

Change-Id: Ib5b5166b19a85516f7e7b9d930d763a2e280768e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 16:48:52 -04:00
Nathan Ridge
f4cf37f562 Bug 463234 - Reuse more code between different selection tests
Change-Id: I312217b9324e0f1786e76d30d7c517a2f417b51d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 16:47:56 -04:00
Nathan Ridge
dc57ba11a4 Bug 416247 - Use an index-based AST when generating doxygen comments
Change-Id: Ic379ba7f51ab8379d32969856f189dacb8cb32fc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-24 02:00:09 -04:00
Nathan Ridge
a4859c33e3 Bug 451082 - Parser support for alignment-specifiers
Change-Id: Ib4321fc036970c1819cb4e66611d1ddbda607e28
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-14 12:57:06 -04:00
Nathan Ridge
1e8964285e Bug 461527 - Replacing dot with arrow during content assist for typedef
to pointer type

Change-Id: Ie81106bda1ad82ce487b6e9df5e74c308c3c9e88
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-09 01:34:30 -04:00
Milivoje Legenovic
52794aa29c Bug 460551. C++11 Keyword 'final' not supported in code formatter
Change-Id: I87db78c4b848f2a469c8a0cd53caa6c60aa3adca
Signed-off-by: Milivoje Legenovic <duh-sa-sekirom@hotmail.com>
2015-03-03 23:37:29 +01:00
Nathan Ridge
bb4b74b367 Bug 345872 - Show correct override markers in the presence of multiple
iheritance

Change-Id: I6d9196d06d2077208ba246991ec712897c09a0df
Signed-off-by: Patrick Hofer <paedu.hofer@gmail.com>
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-03 14:32:16 -05:00
Nathan Ridge
d31d768681 Bug 402617 - Code completion for members of a field of a deferred class
instance

Change-Id: Idfd8535e62fa35bbed3385c5489fae81e65b64d5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-03 01:59:48 -05:00
Sergey Prigogin
0ea6663c22 An attempt to make testTemplateClassMethod_207320 test less flaky.
Change-Id: I44124e7ba53be1d59a6b89b14733a0bda4320257
2015-03-01 22:34:35 -08:00
Sergey Prigogin
b1d0e96fc1 Cosmetics. 2015-02-24 10:52:18 -08:00
Michi
151a5d30c5 Bug 460341 - Nested Template Specialization not properly resolved
Change-Id: I10564878dc0daacad58d164941d73749bf77e787
Signed-off-by: Michi <woskimi@yahoo.de>
2015-02-23 18:46:01 +01:00
Alena Laskavaia
10cb69009a removed mandatory sleeps to speed-up tests
Change-Id: Id55eb28cc5f98ccfaff9ab88eb6fff87352519d2
2015-02-19 08:32:01 -05:00
Sergey Prigogin
52c80c124e Bug 402498. Do not rely on promiscuous binding resolution for adding
includes.

Change-Id: Idace39cc9ff9b781bf0de2d0017533548fb69e83
2015-02-16 01:54:30 -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
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
Sergey Prigogin
3cbb643870 Bug 459186. Added safeguards against misuse of content assist contexts 2015-02-06 15:25:09 -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
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
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
Sergey Prigogin
d0476b4ae0 Cosmetics. 2015-01-26 22:04:18 -08:00
Sergey Prigogin
4738597265 Bug 436656 - [Organize includes] Add include for base class when code
using derived class
2015-01-26 21:43:06 -08:00
Nathan Ridge
0613bf527a Bug 458317 - Fix an NPE in MethodHighlighting.consumes()
Change-Id: I6a88e26aa60d57dd8c95079672ce0c1ceff8b3d7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-01-24 05:23:26 -05:00
mazab
69aa2d0bf0 Bug 438549. Add mechanism for parameter guessing.
Change-Id: I5545d179cfd7c54e2a52f856ea21da43e57587d6
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-01-23 20:22:33 -05:00
Thomas Corbat
786e2137eb Bug 399215 - Toggle Function breaks the code...
- Test case for reproducing the problem.
- The code is lost because a copy of the body, which contains macro
references is not rewritten, but its raw signature is taken. The raw
signature of a copy is empty in this case. I've solved this issue by
using the raw signature of the original node for get raw signature. This
is a fundamental change of ASTNode.getRawSignature(). We could also
solve this in the StatementWriter to get the original node before
accessing the raw signature.

Change-Id: I64b408b09444df818d30d99d99de4a1974eacf93
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/39406
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-16 09:26:19 -05:00
Sergey Prigogin
3fa103dbf8 Bug 457374 - A 'using' declaration confuses Organize Includes 2015-01-13 12:07:47 -08:00
Sergey Prigogin
49997a17b3 Bug 457301 - Organize Includes ignores IWYU pragma: keep 2015-01-12 18:37:19 -08:00
Sergey Prigogin
f0e6a286fb Added a test for renaming a source root folder. 2015-01-08 16:14:20 -08:00
Sergey Prigogin
a44b1c9ba8 Fixed a typo. 2015-01-08 16:14:19 -08:00
Sergey Prigogin
2dbdd831ec Cosmetics. 2015-01-08 16:14:17 -08:00
Sergey Prigogin
07997cb72a Fixed deprecation warnings. 2015-01-08 16:14:15 -08:00
Michi
d6a510ab06 Bug 456752 - [Code Assist] - Accessibility check is broken for base
class templates of a class template

There are 2 changes. Finding the proper naming scope, which basically is
the same as what is done in CPPUnknownTypeScope.getBindings when
retrieving the bindings themselves.
The second change was picking the right scope for the actual
accessibility check for base templates.

Change-Id: I535c8cdd9d07272d37da9d23a03edb9e6b1b3a7a
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/39016
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-07 12:54:23 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Sergey Prigogin
bcc3aad840 Bug 456099. Added a test for NameComposer.createByExample method. 2015-01-05 19:09:44 -08:00
Michi
bb17286834 Bug 422401 - [Content Assist] no binding for nested types of a base
class

The problem was with template base classes as in the unit test.
Accessibility check did not find the proper AccessContext.namingClass
and always ended further up in the class tree.

Change-Id: I447567cabd20ad5c57c05a9ffa5f0f12c5321ccf
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38944
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-04 19:58:05 -05:00
Sergey Prigogin
7eb2e1340a Bug 456099. Added change description. 2014-12-30 17:12:33 -08:00
Sergey Prigogin
fb6cf9f410 Bug 456099. More flexible file name matching algorithm. 2014-12-30 16:05:35 -08:00
Michi
690fc119bb Bug 456101 - class template is refering to itself in code completion
a CPPASTQualifiedName that represents some template instance can never
refer to a template of the same type

Change-Id: Iaf9a452e4797fc0e797e5ed5ccaadfb00ff4fb8f
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38730
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-29 10:39:01 -05:00
Sergey Prigogin
f11fcce2ee Bug 456099. Corrected include replacement in partner files. 2014-12-23 21:18:40 -08:00
Sergey Prigogin
b74feb2c3d Bug 456099 - Renaming a class should also rename related files 2014-12-23 10:30:31 -08:00
Sergey Prigogin
d26dc27212 Adjusted method visibility. 2014-12-23 10:30:28 -08:00
Sergey Prigogin
5cd381dfe8 Cosmetics. 2014-12-23 10:30:26 -08:00
Michi
c647a52118 Bug 434446 - [code assist] struct not being recognised as a valid base
class

structs are now being shown as candidates for base classes

while I was at it I also fixed proposals for typedefs, template
parameters and template aliases.

Change-Id: I319b06a195eed88a12969207a21584dc2477219e
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38379
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-19 15:15:55 -05:00
Michi
702f5cb4c8 Bug 415495 - typedef/type alias change code completion proposals
Change-Id: I963ff5fc2ae073f233b04eb6a5a521d0e6610af7
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38029
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-11 22:42:31 -05:00
Nathan Ridge
c78d2fe823 Bug 451772 - Syntax-color names of structures in C files
Change-Id: I193648ffd15f581af75f71d62261068543a5769d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/36887
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-23 21:43:42 -05:00
Nathan Ridge
17ec42f5cd Bug 451772 - Allow testing syntax coloring in C files
Change-Id: Id97c56b5f076764fea29e3fef002f7b96edb8c73
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/36886
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-23 21:42:16 -05:00
Nathan Ridge
34f513ccfa Bug 442754 - Avoid using a static constant to give production code
different behavior during a test

Change-Id: I115677ee2a5b6b7ccceb75949678d31a08f01732
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/36885
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-23 11:26:07 -05:00
Sergey Prigogin
6a1c54cc57 Cosmetics. 2014-11-21 14:42:37 -08:00
Nathan Ridge
dd919f8f93 Bug 379626 - Incorrect syntax coloring of dependent method call
Change-Id: Id1b327a814d91ff88984362402666a9e640248f5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/35519
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-15 01:26:24 -05:00