1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 03:55:22 +02:00
Commit graph

1450 commits

Author SHA1 Message Date
Sergey Prigogin
6009665334 Bug 489468 - Extract Function creates illegal declaration in .h when
there is a using statement in the .cpp for an argument type

Change-Id: Ie54ce13b434bab21f96b0c6bb7347846d52314e0
2016-03-11 17:47:46 -05:00
Sergey Prigogin
3e27134c47 Cosmetics.
Change-Id: I379de81844c6beed828ec2d27cef110a10987d17
2016-03-02 14:34:20 -08:00
Sergey Prigogin
69562ae63e Bug 488605 - Organize Includes adds an include for a header included by
the partner header

Change-Id: I16ca2afc2ecbe1b47c9a71be5e0c170c9ac0d08d
2016-02-26 23:43:01 -05:00
Sergey Prigogin
3b27932b60 Normalized preferences. 2016-02-26 19:46:39 -08:00
Sergey Prigogin
6fb068d42e Bug 488604 - Organize Includes adds include for type hidden behind a
macro

Change-Id: Ibfe1499580b3b34ff9c3cff0fbbd8b3b3b9506fa
2016-02-26 16:32:56 -08:00
Sergey Prigogin
7c321bae13 Bug 488506 - Organize Includes adds include for function hidden behind a
macro

Change-Id: Ic737e34f71953f1e53a2c1cf2a21e340b7593c33
2016-02-25 19:54:01 -08:00
Sergey Prigogin
01b0b877e1 Bug 488349 - Organize Includes removes an include necessary for a method
call

Change-Id: I309046e32ea2be5f0b6ecc00643d03c131bfafb6
2016-02-24 20:49:27 -08:00
Nathan Ridge
4dfd64edff Bug 371839 - Highlighting of overloaded operator in macro expansion
Change-Id: Ifbf437b12f8f946c90b55bb4a0f99ce7cde9b261
2016-02-22 01:10:26 -05:00
Sergey Prigogin
f4cb39bc3b Bug 487972 - Unnecessary inclusion of <cstdbool>
Change-Id: I3f8b9cd157107f81a46e26c0966ce551772fb5ec
2016-02-17 18:48:20 -08:00
Sergey Prigogin
1a4e98b866 Bug 487971 - Organize Includes removes a necessary include
Change-Id: I74abb929cabcb78733215da552e3ada227aa26e8
2016-02-17 17:34:53 -08:00
Nathan Ridge
6398b59947 Bug 478121 - HeuristicResolver: add support for EvalID with non-dependent field owner type, and EvalMemberAccess
Also use HeuristicResolver in CContentAssistProcessor to determine more
accurately whether dot-to-arrow replacement should be performed.

Change-Id: If011d6797247acc41c9fdd705dd8f5fbcbce87a4
2016-02-11 20:13:00 -05:00
Nathan Ridge
453e429d5c Bug 472818 - Numerous improvements to HeuristicResolver
Notable improvements include:
  - better handling of typedefs and reference types
  - support for specialization of dependent lookup results
  - support for nested templates

Change-Id: Id7b20e40bf31507b4e1743a7ae5898b1a85ade17
2016-02-11 20:13:00 -05:00
Thomas Corbat
6b8482f866 Bug 487186 - Extraction of template type with function type argument
- Changed DeclarationGeneratorImpl to also consider the declarator for
template arguments instead of only the decl specifier.
- Adapted DeclarationGeneratorImpl to not add abstract pointer
.declarator for function type template arguments.
- Test case.

Change-Id: Iedec3e62f8234495003b74bfb463979e37c90bda
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-02-05 03:34:50 -05:00
Nathan Ridge
93af811c6d Bug 486683 - Highlighting for context-sensitive keyword inside macro expansion
Change-Id: I28c729dffcffd6a69f4adcc94d22d789ebb00b11
2016-02-02 01:51:48 -05:00
Nathan Ridge
a201468432 Bug 486682 - Syntax coloring of macro arguments that occur in reverse order in the AST
Change-Id: Ib038a39ada52d44356c4207bef72a681dd3aa790
2016-02-02 01:50:26 -05:00
Nathan Ridge
aca9b68b02 Bug 486688 - Syntax highlighting for dependent enumerator / enumeration
Change-Id: I3054a8e8d556f1473049e8b11c64c1e066e16004
2016-01-29 02:41:44 -05:00
Nathan Ridge
f9375840ed Bug 486679 - Syntax coloring for local variable in lambda capture
Change-Id: Ia7aeae84210d0ce56f28d224099e6bc5f5dbf1a2
2016-01-29 02:39:49 -05:00
Nathan Ridge
eb54f64445 Bug 484898 - Highlighting of inherited constructor name
Change-Id: I314dcf08b0d882a60aa02f248131d02281f8ff16
2016-01-29 02:37:57 -05:00
Nathan Ridge
1d46897ad0 Bug 485709 - Syntax coloring of qualified enumeration
Change-Id: I33c8edc024fbb23c16e9328a15ddec05eabd6124
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-25 00:16:44 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Nathan Ridge
e667b2631c Bug 484899 - Navigation to inherited constructor
Change-Id: I3ce24f3fb70e50b50757900c5ccb372abd855dfc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 23:25:13 -05:00
Nathan Ridge
f82660f14c Bug 416748 - Improve semantic highlighting for alias templates
Change-Id: Ic0d0110133a4732cace07d19e995e7c51b5538e3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 19:24:25 -08:00
Nathan Ridge
60e390b0e4 Bug 484618 - Implicit names for calls to user-defined literal operators
Change-Id: I15df0f5729b5c4ba6c557789be5db56baaf3afbc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 14:59:45 -05:00
Sergey Prigogin
102c7b58cf Revert "Bug 484618 - Implicit names for calls to user-defined literal
operators"

This reverts commit 7059bfb0ea.

Change-Id: I99c73e4655a29b1e06e8b709451f939175b80031
2015-12-24 13:20:05 -08:00
Nathan Ridge
458d7f2ed1 Bug 479142 - Show correct override marker when multiple overloads in a
base class are overridden in a derived class

Change-Id: If31925a5fbffe1425d22894fdff762ef1c733f25
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-24 15:04:12 -05:00
Nathan Ridge
8ceb33a1fc Bug 484617 - Test highlighting of user defined literal suffix
Change-Id: I8647077131e2d210d23dcd1ad591e864511c7b8e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:26:37 -05:00
Nathan Ridge
7059bfb0ea Bug 484618 - Implicit names for calls to user-defined literal operators
Change-Id: I4eaa320646c772f8321bca1f09cfe32a95eb0e59
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:09:43 -05:00
mazab
c6dc02c94d Bug 438549 - Fixed a regression for parameterless functions and
re-enabled parameter guessing.

Change-Id: I4b6347999d675335c8e88f4bffed37fcef2e0bc3
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-12-14 19:38:06 -05:00
Sergey Prigogin
4ac6657792 Bug 438549 - Disabled parameter guessing since it caused a regression
Change-Id: Ie59177428d624196aee9bfc0573da969b15e80fe
2015-12-08 14:58:27 -05:00
mazab
241a60fe8a Bug 438549 Add mechanism for parameter guessing.
Change-Id: Ib348e401932a9119185dbab8ecacaf80fd3e17ff
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-12-02 19:14:42 -05:00
Sergey Grant
85b481a99a Bug 481070 - Parameter completion doesn't work inside lambda
Change-Id: I32b0cf54dd349e04fddca17f4141e7fee06f2562
Signed-off-by: Sergey Grant <sergey.grant@me.com>
2015-11-30 20:03:46 -08:00
Nathan Ridge
28c22cca09 Bug 477359 - Completion node inside attribute specifier
Change-Id: I54902dc41834943a3fcfcca60ebbc2944fa0a68a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 19:26:05 -05:00
Martin Stumpf
1386247a0e Bug 436041 - doxygen tags are not generated when using single line format /// or //!
Change-Id: I1c392d1ea360efcc62328ce1541a42439948706b
Signed-off-by: Martin Stumpf <stumpfpublic@gmail.com>
2015-08-05 15:22:59 +02:00
Nathan Ridge
5623c39492 Bug 421544 - When searching for the target file for Toggle Source/Header,
prefer files closer to the origin file in the directory structure

Change-Id: I82a3c1dc3f09cecb69e07511dd5b8bed62676b6a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-19 12:21:15 -04:00
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