1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

13510 commits

Author SHA1 Message Date
Jonah Graham
08b8dca563 Bug 499553: Fix line comments used as a block on non-indented code
Change-Id: I059ba491e66722b286cfc9366cbfcd7efda535f6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-12 06:04:57 -04:00
Jonah Graham
b34d04c0d5 Bug 499471: Workaround indexer deadlock when tests running
See the bug for lots more details. Short summary is to prevent project
from being deleted when indexer is still running to prevent the
deadlock.


Change-Id: Ie2523fcbacb3f8a15b43f107bd264069270c4028
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-12 05:13:35 -04:00
Jonah Graham
21dacc15fd Cosmetics.
Fix mixed indentation

Change-Id: Iba3193013c2e6cd5e21e0d61f47b244dfafe0582
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-11 14:30:24 +01:00
Doug Schaefer
30cde08c83 Add templates that map to old new project wizards.
Change-Id: I23a01ca9adcb73aa684d3be5932975e75f1a2462
2016-08-10 16:07:19 -04:00
Doug Schaefer
cc5287f548 Only show Language Setting property on old build system projects.
Change-Id: I21e71af0f5e701939d133707353e5bde7e4ab0e1
2016-08-10 13:52:49 -04:00
Doug Schaefer
20c4e5ba88 Get CMake projects created and building. New C/C++ Project Wizard.
Fixed up CMake new project creation. Hooked up the CMake build config
properly.

Introducing the New C/C++ Project Wizard that hold all the new project
types: Arduino, Qt, CMake.

Change-Id: I9f9c8b1f51b136515fe226c15059cdbb99106275
2016-08-10 11:17:41 -04:00
William Riley
0f11ffff88 Bug 476797 - Enable Expand annotation hover by default
Change-Id: I8362079dc73a17eba194193210d9ad0b36a2ef28
Signed-off-by: William Riley <william.riley@renesas.com>
2016-08-09 07:15:19 -04:00
William Riley
c297330c9c Bug 476797 - Port Expand annotation hover from JDT
Ported the JDT expand annotation hover code into CDT & adapted.

Added preference to control in equivalent location to JDT. Default is
disabled for now.

Changed behaviour from JDT version - 
 * Breakpoint annotations & add breakpoint option displayed last
 * Tooltips displayed with no delay after expanded hover is displayed
 * Reverted fix for bug 165533 due to issue where single click on 1st
   item in expanded hover also triggers single click on top item in
   ruler if mouse within ruler area (Same as JDT)

Known issues -
 * Double click on ruler column sometimes triggers single click on 1st
   item in expanded hover if user is too slow (Same as JDT)

Change-Id: I87c2f8efd04ea5084b056241a04758a368e2ca55
Signed-off-by: William Riley <william.riley@renesas.com>
2016-08-08 16:25:02 -04:00
Sergey Prigogin
739281bec7 Remove Function Bodies and Remove Unused Declarations refactorings.
Change-Id: I99cfe7e561ab1615c7d4ee8c126e07acbc672196
2016-08-08 12:02:17 -07:00
Sergey Prigogin
3d584f5deb Cosmetics.
Change-Id: Id4498083c369ba3a9721a415945186c4c48f90a7
2016-08-08 12:02:16 -07:00
Marc Khouzam
88ee46b514 Update o.e.cdt.core plugin version as necessary due to recent change.
Change-Id: Ief752f55f52597795ad0df0035a67f13e6b36ac1
2016-08-03 09:33:28 -04:00
Nathan Ridge
1084e608d0 Add a declaration of newName(String) to ICPPNodeFactory
Change-Id: I1ccbde39761bfb944e8677d196e577ea89e25e94
2016-08-02 19:21:38 -04:00
Sergey Prigogin
80b05f860a Cosmetics
Change-Id: Idabd9e2d0c587618c2a68363fabdd0692ee8f847
2016-07-31 22:13:13 -07:00
Sergey Prigogin
072e568395 Cosmetics 2016-07-31 13:59:46 -07:00
Sergey Prigogin
e8213acedf Cosmetics 2016-07-31 13:23:12 -07:00
Sergey Prigogin
d866664a92 Cosmetics
Change-Id: I0ace660542038d2077fb9e989b1bb5ccc10b4ef2
2016-07-29 21:20:41 -04:00
Nathan Ridge
dcb726d00c Fix a typo in EvalBinary
Change-Id: Ib109e00962232f3146711ed9ec0218c91692acfa
2016-07-28 22:01:57 -04:00
Nathan Ridge
69fb4ee9cd Bug 498434 - Floating-point literal with leading zero
Change-Id: I7417405ae89b41c7d3b28089320cc66f1c7c6173
2016-07-28 22:01:45 -04:00
Sergey Prigogin
c4f4122343 Minor optimization in TypeInstantiationRequest.equals method.
Change-Id: Ie9efe4000b9354e9c2193a0f8264e771ffe8e169
2016-07-28 14:46:15 -04:00
Sergey Prigogin
fdedd70428 Speed up indexer in a situation when there is a large number of
equivalent CPPMethodTemplateSpecialization objects

Change-Id: I3ad05af2de652a109e1680c189b54e81e355d357
2016-07-27 21:05:11 -07:00
Sergey Prigogin
d3b62dd5ba Cosmetics and code streamlining.
Change-Id: I2c5479f4259cafe5d98cb203f3af2d4aac62cfbe
2016-07-20 21:00:28 -04:00
Sergey Prigogin
2d4d6b3e1c Bug 497931 - Added a failing test and a TODO in the problematic code
Change-Id: I9562d0452a3ba08b940d948e040580e858abaa39
2016-07-15 18:29:46 -04:00
Sergey Prigogin
50dff78b51 Cosmetics. 2016-07-14 12:50:40 -07:00
Sergey Prigogin
b47514f94a Bug 497875 - Indexer runs out of memory with recursive template
functions

Change-Id: I1b92d57fc13f61933082185b397e63cf7d9b69a6
2016-07-14 12:02:10 -07:00
Sergey Prigogin
b7ecc46eca Bug 497875 - Avoid evaluating isConstantExpression multiple times
Change-Id: I54d6b533f5b21294a92319ea1d45d4f18962a460
2016-07-13 17:57:02 -07:00
Sergey Prigogin
f2af760266 Cosmetics 2016-07-13 17:52:13 -07:00
Sergey Prigogin
72e0c1b6fe Cosmetics. 2016-07-11 15:46:42 -07:00
Sergey Prigogin
13472faa4d Code streamlining.
Change-Id: Ifcf5a23c1a8948d43adc4f0761a83695bb34d3e8
2016-07-11 18:43:38 -04:00
Sergey Prigogin
4d6c9dce1a Bug 497535 - Name resolution problem with template method
Change-Id: I6bc4025f26d19dd0162f7e6c9d9cdad73c75e5d9
2016-07-11 17:48:47 -04:00
Sergey Prigogin
67f2b199d9 Removed redundant qualifiers.
Change-Id: I28dad37e31f471d2e194b0f83098fd8ca1414894
2016-07-09 12:38:04 -04:00
Nathan Ridge
3024a99027 Bug 497524 - Fix a ClassCastException in CPPTemplates.createSpecialization()
Change-Id: Ie63d5dd6ffd3ba1de3d449f9255b7782c4dde06d
2016-07-07 22:48:43 -04:00
Sergey Prigogin
a6492d951f Bug 495952 - Problem with SFINAE in trailing return type
Change-Id: Ida1d168803da5304c834b19fa83148921f69b2b6
2016-07-07 21:33:46 -04:00
Nathan Ridge
7a4d4fdb95 Revert "Bug 486682 - Syntax coloring of macro arguments that occur in reverse order in the AST"
This commit caused a regression in syntax coloring, as reported in bugs 490415 and 496696.

Change-Id: Ibfa7004b11677be56eb5a18d8236af2300de56cb
2016-07-06 23:04:05 -04:00
Nathan Ridge
afb47aa104 Bug 496657 - Fix an ArrayOutOfBoundsException during indexing
Change-Id: Iee0617407bf59016dae26b2483dfc9d68ff84451
2016-06-30 17:47:45 -04:00
Marc Khouzam
f38cbb85c3 Remove old .cvsignore files
Change-Id: Ia66de47055a15d94c0aa45d1198f0a9e78d82ad0
2016-06-30 09:58:00 -04:00
Thomas Corbat
7c80ce009c Bug 428237 Added "Replace all" option to Extract Constant dialog
Change-Id: I65b9b8dd86bfe6431e9bb5ea4894b234ab26e004
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-06-29 08:38:08 +02:00
Marc Khouzam
9e1e981b4d Move the rest of the CDT plugins to java 8
This change was generated using the script:
releng/scripts/ChangeJavaVersion.sh

Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-06-22 14:51:43 -04:00
Sergey Prigogin
0937af705b Fixed compiler warnings.
Change-Id: I6617c9cf0564c8011da4f35f41cbae29c453adfa
2016-06-17 23:30:53 -04:00
Nathan Ridge
a41ffeaf34 Bug 480271 - Update the list of features CDT claims to support in __has_feature()
__has_feature() is a clang extension for feature testing.

Additions include features that we support that weren't added previously
because they weren't listed in clang's documentation (such as cxx_atomic),
and features for which we've since gained supprot (such as
cxx_variable_templates).

The addition of cxx_atomic is particularly important because it's required
for CDT to parse libc++'s <atomic> header correctly.

Change-Id: I21a0472bb3983cf70f5b7b734827ab1111370690
2016-06-14 07:02:30 -04:00
Thomas Corbat
f31d960271 Bug 488109 Refactoring of Extract Constant Implementation
Renewed extract constant implementation, including some improvements to
its functionality:
- Extraction of unary/binary expression trees with literals as leafs
- Improved name suggestion for integers
- Improved existing name detection
- Selection is more forgiving (caret in literal is accepted as
selection)

Patchset 2: Fixed trailing whitespace
Patchset 3: Improved progress implementation, removed unnecessary
generic
arguments and changed legacy implementation of IndentifierHelper
Patchset 4: Position of split call & line wrapping

Change-Id: I49ddb8355217e82d56728cd2abe253a63937f379
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-06-14 03:26:18 -04:00
Doug Schaefer
5d2cbaaa1c Cherry picking changes from the CDT 9 branch for Qt and Arduino.
Change-Id: I85eca2b8bb0447d4dd703030c41d90c1f9bcdf89
2016-06-13 21:23:10 -04:00
Sergey Prigogin
de37ec61db Added @noextend to HashTable and its subclasses.
Change-Id: I89a5e887cd22e4cb79b96c549fe5c7b79045cf3b
2016-06-13 11:46:30 -07:00
Sergey Prigogin
b7eb967b6d Created an API filter for HashTable.linkIntoHashTable method.
Change-Id: I209bc9254df389732443a3eb88838719e9eedb76
2016-06-13 11:32:05 -07:00
Sergey Prigogin
5063475316 Adjusted Javadoc. 2016-06-12 15:46:49 -07:00
Sergey Prigogin
78c15867f9 Bug 495845 - Name resolution problem with SFINAE and trailing return
type

Change-Id: Ib3dff25c9e8c85b95a0e9cd1a7296fd9756b1511
2016-06-10 17:46:17 -07:00
Nathan Ridge
03f0a71a3a BUg 495095 - Disable a test that tests functionality that isn't implemented yet
Change-Id: I43af3f590269088dbd17da1abd7cdada837a7f0d
2016-06-09 19:50:51 -04:00
Nathan Ridge
fe88f1f305 Bug 495095 - Consider implicit conversions when guessing parameters
Change-Id: Ie8c24148b227c39c58c58db887a75337bb064a0a
2016-06-09 19:50:37 -04:00
Nathan Ridge
bb8f775f99 Bug 495095 - Get the parameter guessing test suite to actually exercise the parameter guessing code
Change-Id: Ic0c2031f5d2f8854fcd304bbce8cba44222a0070
2016-06-09 19:50:21 -04:00
Nathan Ridge
95eee92c4c Bug 495095 - Fix incorrect tests
Change-Id: I90e211b9bbf55245bc15bc6239555267e8d88f92
2016-06-09 19:50:03 -04:00
Nathan Ridge
0b156e4ce4 Bug 495095 - Set offset and length correctly for name inside completion node in C AST
Change-Id: Id0ec4e51875d462acdcd1bb23dd085f3c7aff353
2016-06-09 19:49:37 -04:00