1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 12:25:35 +02:00
Commit graph

1715 commits

Author SHA1 Message Date
Wei Li
654c2999e1 Bug 405678 - fix "show references" not showing all references of a
strucuture field in mixed C and C++ code

Change-Id: Ie5c5f96e18d9b949c69fcf8f330e31fe8a9002da
Signed-off-by: Wei Li <wei.r.li@ericsson.com>
2015-07-13 18:14:29 -04:00
Sergey Prigogin
5f84bb8efa Cosmetics. 2015-07-13 14:13:09 -07:00
Nathan Ridge
6886023638 Bug 421823 - Heuristically resolve unknown bindings during 'Open
Declaration'

Change-Id: Id48769cae0ded784228780bbf60a30e7e990b073
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 14:06:37 -07:00
Nathan Ridge
f413507257 Revert an increase of test timeouts for debugging that was accidentally
committed

Change-Id: I58cfdc50ba8fb929a3cb37f60754209494e9fad3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:59:10 -04:00
Nathan Ridge
7ece374afd Bug 408870 - Do not require a whitespace after 'operator' when searching
for an overloaded operator in the Search or Open Element dialogs

Change-Id: Idd0363cd2cb3d44a822fb2ebc34582feb2238022
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:08:12 -04:00
Thomas Corbat
ed3e9cf973 Bug 399931 - Fix for toggling functions with return type from context.
Change-Id: I188d851500c4464d12977c82805679eee31663f2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-06-12 10:35:39 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Nathan Ridge
c75374a1ef Bug 466861 - Do not lose template parameters of derived class when doing
access checking for content assist

Change-Id: I850bc2c1f7f49682fc51ad5be621a7125936dd08
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-13 00:17:44 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Sergey Prigogin
958d5a8a3d Revert "Bug 438549 Add mechanism for parameter guessing."
This reverts commit a2cff345b1.

Reverted due to a serious performance regression.

Change-Id: I90a5b4ded9b7180cf10f1fba64bca897a2040013
2015-04-26 01:17:08 -04:00
mazab
a2cff345b1 Bug 438549 Add mechanism for parameter guessing.
Change-Id: Ia7a8a20a00b6d33c694cac79cfa69c366a372708
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-04-12 11:29:35 -07:00
Thomas Corbat
3bd061e4ee Bug 389299 - Toggle Function: Internal error on syntax errors
Added check to initial condition, for syntax errors in definition AST.

Change-Id: I6ffce441174252298e726a572862ebf65a8694ea
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-04-10 01:48:17 -04:00
Thomas Corbat
3855933de1 Bug 399217 - Toggle Function: Exception on typedef as return type
The bug(s) seems to be fixed already.
Added a test case for verification.

Change-Id: If42d796ba27694254bdcd79d69aad323763c2105
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-04-09 11:52:22 +02:00
Thomas Corbat
442bcd62e1 Bug 464102 - Toggle Function for nested namespaces
Implemented proper handling of nested namespaces for toggle function
refactoring.

Change-Id: I850d3a7c9957dc2e26db4d1ac1aabf9a33bc2223
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-04-09 03:38:48 -04:00
Nathan Ridge
bb7af88082 Bug 440940 - For Open Declaration, filter out results in headers that
aren't included

Change-Id: I4d4ca59dbde1606105c7f3702559046fa160d686
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 17:25:09 -04:00
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