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

12977 commits

Author SHA1 Message Date
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
Nathan Ridge
937113fe3a Bug 495095 - Fix a bug in the test suite where the test passes if there are no actual guesses
Change-Id: Ie8a4a2019a6f50e82b1e78f39bcbfa778951ebb6
2016-06-09 19:49:21 -04:00
Nathan Ridge
efdd3c7986 Bug 495095 - Consider local variables for parameter guessing
Change-Id: I3e31a508a795b4e7f56d3e4407914d46bf4803ec
2016-06-09 19:49:00 -04:00
Nathan Ridge
f184c70bdb Bug 495095 - Acquire the index read lock while generating parameter guesses
Change-Id: I688f617e4a92da06e5bde4a91224088f2b40410f
2016-06-09 19:48:19 -04:00
Thomas Corbat
c3af58b543 Revert "Bug 488109 Refactoring of Extract Constant Implementation"
This reverts commit 3868ed045e.
2016-06-09 17:50:46 +02:00
Thomas Corbat
3868ed045e 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 (carret in literal is accepted as
selection)

Change-Id: I49ddb8355217e82d56728cd2abe253a63937f379
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-06-09 17:41:25 +02:00
Sergey Prigogin
e710bba51e Cosmetics. 2016-06-07 19:41:29 -07:00
Sergey Prigogin
045b4534d0 Separated tests for CharArrayObjectMap.
Change-Id: I5ccfdee8e81fb155b254b5423ce33baeb6c182d0
2016-06-07 18:54:23 -07:00
Sergey Prigogin
11de0ed6b6 Bug 495091 - Name resolution problem with bool() operator
Change-Id: I764c2f6887321f3dee7668550705b517460c152d
2016-06-07 14:38:50 -07:00
Sergey Prigogin
54252787ba Cosmetics. 2016-06-07 13:50:54 -07:00
Sergey Prigogin
941c435544 Cosmetics. 2016-06-06 15:55:42 -07:00
Sergey Prigogin
591f90c6d2 Cosmetics. 2016-06-06 15:36:00 -07:00
Sergey Prigogin
5890732542 Bug 495091 - Name resolution problem with list initialization
Bug 495227 - Implicit constructor call with list initializer is resolved
incorrectly

Change-Id: Ia163585277a7a9af85fd414d2ece43f10aef18e5
2016-06-03 17:51:18 -07:00
Sergey Prigogin
dd3a45bcdf Adjusted Javadoc. 2016-06-03 17:51:17 -07:00
Sergey Prigogin
3515c76e94 Allow OperationCanceledException to propagate.
Change-Id: I85ac9189cbfe894f1800defa1b39e500cd5ef90f
2016-05-27 15:17:06 -07:00
Sergey Prigogin
078be6002f Fixed compilation warnings.
Change-Id: Ice9a8bf99f1bb80afea584698105a10657294b64
2016-05-27 18:14:31 -04:00
Sergey Prigogin
40b2d17b42 Code cleanup.
Change-Id: I9a1945e7633a0f3747a6c33dc62e90d3b76a4e54
2016-05-27 15:04:04 -07:00
Sergey Prigogin
a4cd53a926 More robust handing of indexer cancellation.
Change-Id: I5c2baf7fab8560a0cc11bfc74994b6e9135e7cce
2016-05-27 14:11:50 -04:00
Sergey Prigogin
260b6dadac Improved cancellability of indexer.
Change-Id: I194e5b135f1f58501fb3345ca373feef23832c97
2016-05-27 00:29:15 -04:00
Sergey Prigogin
bb79c66743 Cosmetics.
Change-Id: Ib2b290d1a41a6584b386ffd44cd2b779ba5a20ea
2016-05-26 22:39:39 -04:00
Sergey Prigogin
1bdfc29020 Code cleanup.
Change-Id: Id1f1d6c0c098d94a4275188a3b4f6443ddc4843d
2016-05-25 23:38:44 -04:00
Sergey Prigogin
290c8dfe23 Improved heuristic header substitution algorithm and unified it between
Add Include and Organize Includes commands.

Change-Id: I0d4a1110a8b89ca49d55eb82eddb29e7d8bcd548
2016-05-25 23:38:34 -04:00
Sergey Prigogin
3bd964832a Cosmetics. 2016-05-25 18:47:22 -07:00
Sergey Prigogin
25f52b35c9 Cosmetics. 2016-05-24 19:37:46 -07:00
Sergey Prigogin
b91a639643 Bug 494489 - NPE in CPPASTCompoundStatementExpression.getEvaluation
Change-Id: Iff6243cee0e583af7b34681f123ba3016bfd6558
2016-05-24 13:56:13 -07:00
Sergey Prigogin
bb53b9e92f Cosmetics. 2016-05-24 13:52:18 -07:00
Sergey Prigogin
3d94e24317 Bug 494359 - Explicit specialization is improperly ignored
Test case.

Change-Id: I9eb34ad4d3309bf568d26338bd7611fa9fea0673
2016-05-23 21:12:52 -07:00
Sergey Prigogin
b6a6331fb2 Cosmetics.
Change-Id: I09ae710c9b0199f35565a6b11e9dcc4126e00324
2016-05-23 21:11:27 -07:00
Sergey Prigogin
9869fc70a5 Bug 494359 - Explicit specialization is improperly ignored
Change-Id: I3294202002338281c7310f9ef77e2d5293566e0b
2016-05-23 20:39:49 -07:00
Sergey Prigogin
954d834eb0 Improved Javadoc. 2016-05-23 20:38:09 -07:00
Sergey Prigogin
81d434b551 Cosmetics. 2016-05-20 18:28:09 -07:00
Sergey Prigogin
9ef289d34c Code simplification.
Change-Id: Idefe8f033ccb5db0b81c2118ed75ebc4de1d1382
2016-05-20 18:27:42 -07:00
Sergey Prigogin
d16d496bd9 Improved consistency of method names. 2016-05-19 10:55:40 -07:00
Sergey Prigogin
2b3ab14082 Code streamlining.
Change-Id: I773eb373e6397260af6fd3815f1b16815500dabd
2016-05-19 02:05:52 -04:00