1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

13602 commits

Author SHA1 Message Date
Nathan Ridge
11ccc87055 Bug 511726 - Handle unresolved field owner type in CPPASTFieldReference.getFieldPosition()
Change-Id: I0ded6f44f8aad69d54c361432afcb423ed6601b2
2017-02-12 12:20:00 -04:00
Nathan Ridge
2e1f2d475a Bug 511653 - Completion of inheriting constructor in using-declaration
Change-Id: If20d85bd6199e8f08152f3a5801bfb30b61d1d09
2017-02-12 00:04:11 -04:00
Nathan Ridge
c0ba7f6bfb Bug 511658 - Destructor call via alias template name
Change-Id: I64a7ec62a05345983e9e298a6ba735f63385486b
2017-02-11 21:25:10 -05:00
Sergey Prigogin
2899b9098e Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Fixed logging of cycles in IndexFileSet.containsDeclaration.

Change-Id: Ic27b161aacb7706f8f06beb1f876f86100421328
2017-02-09 18:12:17 -08:00
Sergey Prigogin
64f00b9457 Removed obsolete code.
Change-Id: I97aef668d2248103b88c77f03c4481807c0e4286
2017-02-09 13:28:51 -08:00
Nathan Ridge
e20812dc8b Bug 511522 - Navigation to type named by 'auto' in variable declaration
Change-Id: I3f6a35cb2498d7a9de31db7c283027fbc33fe688
2017-02-09 02:20:35 -05:00
Nathan Ridge
ec3ab3016d Bug 511331 - Do not color entire qualified name with problem highlighting
Change-Id: Ic712ec2e03bdf03f5ae97019fb9ae8994c5dec23
2017-02-09 02:20:35 -05:00
Sergey Prigogin
a88b16d124 Bug 399147 - 'Find references' does not find using-declarations
Trigger index rebuild to rebuild corrupted binding reference lists.

Change-Id: I94a68fc260c8543840aa712efc97650152597a0a
2017-02-08 18:56:39 -08:00
Sergey Prigogin
5462bac381 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added cycle detection to IndexFileSet.containsDeclaration.

Change-Id: I48a596bd680bd4f764739b9170a98c907c41ae8c
2017-02-08 18:24:29 -08:00
Sergey Prigogin
5e793c9b43 Revert "Bug 399147 - Make 'Find Reference' find using-declarations"
The change is invalid since a PDOMName can participate in only one
binding at a time through its BINDING_PREV_OFFSET/ BINDING_PREV_OFFSET
pointers.

This reverts commit 2706699543.

Change-Id: I1a4dd7b189b85a0d9c1cca2660d33ab7351a025c
2017-02-08 12:46:40 -08:00
Marc-Andre Laperle
95e05f485d Remove profiles that helped skip ppc64le
Those profiles were useful when keeping compatibility with Eclipse 4.5
but this is not required anymore.

Change-Id: Ic9ef7beecee1b5bd072ec192048ab409b19844c9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-08 09:51:43 -05:00
Nathan Ridge
0d35254d82 Bug 511427 - ClassCastException in CompositeCPPClassType.wrapBindings()
Change-Id: Id02d59a67b98131aaa4afc8936f89d0985ef93cf
2017-02-07 21:32:03 -04:00
Nathan Ridge
27775e3393 Bug 475581 - Make AbstractCLikeLanguage.createScanner() not final
This allows extenders to replace the preprocessor.

Change-Id: I8c6a53225608e4a21560b31bed3b5f37291ba612
2017-02-07 21:30:08 -04:00
Sergey Prigogin
c6955df2e2 Bug 511871 - CContentAssistProcessor.createContext may leak index lock
Change-Id: I828c94484c7b1594ba72551b80cd5ed6e6a8576c
2017-02-07 14:48:32 -08:00
Sergey Prigogin
ff23fc9dbe Cosmetics.
Change-Id: I8c38ac32c7cb4e335e16b92a54eeaf6faa0abfe2
2017-02-06 19:37:44 -08:00
Sergey Prigogin
d6ab03abb9 Bug 511808 - Expand namespaces by default regardless of depth level in
Outline view

Change-Id: I9061ad64e442e8859fd79dbb4bf437443ef545a7
2017-02-06 19:30:01 -08:00
Sergey Prigogin
0be1934cec Removed use of a deprecated class.
Change-Id: I2f0bb36c79974e62fcf06a77ca78954f8103a150
2017-02-06 18:44:50 -08:00
Sergey Prigogin
be08c70459 Removed redundant casts.
Change-Id: I7ba50740e4b63897d77ef0204afa5343314d4916
2017-02-06 18:37:47 -08:00
Jeff Johnston
7d0117d24e Bug 511229 - RFE: Add quick fixes for some basic gcc errors
- change codanMarkerResolution schema to support translatable
  regex statements for matching
- bump cdt.codan.ui version
- add additional codanMarkerResolution extensions to codan.checkers.ui
  to handle some basic gcc error messages with quick fixes
- add QuickFixAddSemicolon, QuickFixRenameMember,
  QuickFixUseDotOperator, and QuickFixUsePointer classes
- add new QuickFixMessages
- add plugin.properties to cdt.codan.checkers.ui to allow the quick
  fix regex matchers to be translated in the future
- change the generic error message for gcc error parser so that the
  column is reported as the problem variable (useful for certain
  quick fix resolutions)
- bump up cdt.core

Change-Id: Ibb24c1a79c4d91ead3fc629ea3d4e7425b4e7f23
2017-02-06 12:33:34 -05:00
Sergey Prigogin
3bb38bf874 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added debug logging of time spent in IndexFileSet.containsDeclaration.

Change-Id: I4523abac4f56c4284ef03da5e82fd39b6dc1d412
2017-02-06 01:25:19 -04:00
Sergey Prigogin
6ddaed7dd7 Improved tracing code.
Change-Id: I8aeb9085e1de9876ddb078a63ccdbfb17858311b
2017-02-06 00:54:16 -04:00
Sergey Prigogin
0b641f1216 Removed obsolete code.
Change-Id: I698f57e290125aca55bb8c2209dca2a9c4cf745f
2017-02-05 21:23:41 -05:00
Marc-Andre Laperle
bd5cec12a8 Remove AIX support
Eclipse 4.7 removed AIX support so CDT should also remove it.

Change-Id: I9ed50a4c47e7b861eb2adeb86e857d2a78b4834b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-05 21:16:48 -05:00
Sergey Prigogin
01236146d1 Removed unused code.
Change-Id: I1afd20c0468cdd8347e3ee8fa3fd3c21fc1d216f
2017-02-05 15:14:08 -08:00
Sergey Prigogin
7a9f9ebcc4 Cosmetics
Change-Id: I990c8920e32d8895a0f84d8911c2448281d53161
2017-02-05 18:13:49 -05:00
Nathan Ridge
a44bef00d6 Bug 511274 - Compute correct replacement length for ParameterGuessingProposal
Change-Id: Ia2d6f10086f8d2a9ec922a3ff37eadc8ab94c9ed
2017-02-05 17:54:53 -04:00
Sergey Prigogin
90ad016967 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added tracing of unusually expensive bindings in IndexFileSet.

Change-Id: I316257d32b4af7357644a2958177efd2df58f864
2017-02-03 12:43:11 -08:00
Nathan Ridge
e7d8ba0ec3 Bug 511186 - Noexcept specifier in type template argument
Change-Id: If0c3299c563829a9b3549f78b346a19e68042456
2017-02-03 13:53:35 -04:00
Nathan Ridge
6a8afa21a6 Bug 511108 - Update the set of supported feature reported in __has_feature
Since the last update, C++14 relaxed constexpr and a few new type traits
have been implemented.

Change-Id: I6fb780973c113820bfecf6a2bc7f1b7f5b1494e9
2017-02-03 13:52:06 -04:00
Nathan Ridge
4c172b2407 Bug 511108 - When parsing as clang, enable the extensions supported by clang in the scanner extension configuration
Change-Id: I43fe278e08b3274c465374503f994e6dc46668e6
2017-02-03 13:51:41 -04:00
Nathan Ridge
8b64d79199 Bug 511108 - Only report support for type trait primitives in __has_feature if such support is actually enabled by the active scanner extension configuration
Change-Id: I0631f555935fdbdd1f2a98fe737a129ef5b90eda
2017-02-03 12:51:07 -05:00
Sergey Prigogin
dd92d1c9d5 Code streamlining.
Change-Id: If94003c41bac154601ddd8ce87a0418fbf4f1b0c
2017-02-03 01:10:07 -04:00
Sergey Prigogin
66c965df2e Bug 511606 - ClassCastException: CPPTypedefSpecialization cannot be cast
to IArrayType

Change-Id: Iac14f1a84323e2a0fee01cb23fb1ce33ee27757c
2017-02-03 00:08:55 -05:00
Nathan Ridge
5a4e821cfb Bug 511048 - Offer completion proposals for nonstatic methods in a using-declaration
Change-Id: Ifb3aee10c354aebe606c439cdda1453b1cc29095
2017-02-03 00:47:57 -04:00
Nathan Ridge
7b8bf74386 Bug 511122 - Instantiation of dependent destructor name
Change-Id: I090439b6c525cae3bf054f65f67190811232d64c
2017-02-03 00:46:07 -04:00
Nathan Ridge
fbc18a270f Bug 511108 - Do not attempt to resolve the name in an EvalID if the name owner is still dependent
Change-Id: I63dcfa4413569554f30be0c6a94c2b1691515aa4
2017-02-03 00:44:19 -04:00
Nathan Ridge
8c7c06646b Bug 511429 - Handle TypeOfDependentExpression in PDOMCPPLinkage.unmarshalBinding()
Change-Id: I2eca438be88bb0d78dae5f511fa1fde46965fa65
2017-02-02 23:39:50 -05:00
Nathan Ridge
5babeafa31 Bug 510834 - Propagate substitute failure in EvalID.instantiate() with field owner
Change-Id: I27088b7da18f7fe52d77bd669e32b225a1e99d21
2017-02-03 00:39:34 -04:00
Nathan Ridge
e832c49faf Bug 510706 - Follow-up to ensure a UniqueType's contribution to a signature is unique
Change-Id: Iceaf946c073455f10ffd8d95013442da91309be3
2017-02-01 12:53:53 -04:00
Nathan Ridge
52299c9124 Bug 499374 - Extend the preview code on the Syntax Coloring preference page
The code now includes a template parameter and a task tag, so their
respective colorings can be seen in the preview window.

Change-Id: Ie74a0af04b016ef506d665a9472775aa8f6d757c
2017-02-01 12:51:36 -04:00
Nathan Ridge
4ed57293e6 Bug 510998 - Use the semantic highlighter to color the preview code on the Syntax Coloring preference page
Previously, the highlighted ranges in the preview widget were hard-coded.

Change-Id: Ib1221ae69fcbe7138549d1483da10bad2251430e
2017-02-01 12:50:04 -04:00
Nathan Ridge
b10699be77 Bug 510998 - Fix a deprecation warning in CEditorColoringConfigurationBlock
Change-Id: I6da1652d9b6fcc7a9775d427a57c858cb7323f1e
2017-02-01 12:49:40 -04:00
Marc-Andre Laperle
02a04cebad Fix API errors with Eclipse 4.7
- Adding default methods can now be ignored
- Adding fields is now an error but we probably want to ignore this
because it is quite restrictive

Change-Id: Ie57c69f54c64e4913d1498b02e86d00c93f8101a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-30 14:11:36 -04:00
Nathan Ridge
1c60b844c5 Bug 509185 - Completion of constructor call with uniform initialization syntax
Change-Id: I3b0b3c5dd32ee09755e58cdb3dbc6af019ddd650
2017-01-29 17:15:00 -05:00
Nathan Ridge
a395647e48 Bug 510788 - Syntax coloring for template arguments in function template specialization
Previously, the arguments shared the color of the template-name.
Now, the arguments get their own colors.

Change-Id: I27af4146717a19095f1ac22188eedb8a71d9466c
2017-01-28 14:40:45 -05:00
Sergey Prigogin
e891f9e555 Cosmetics
Change-Id: Ib5d970ad0b34db58cbf7d87bdb67b457539985e4
2017-01-28 08:55:22 -08:00
Sergey Prigogin
7b05dbf791 Added protection against ClassCastException.
Change-Id: If22df485f21173841a0a5126ecc1246ea6651b4f
2017-01-27 22:37:12 -08:00
Sergey Prigogin
5aed7a6411 Bug 510662 - NPE in BuiltinOperators.<init>
Change-Id: I699a45e762dcc00593b0000c2cd3ecd5f2515773
2017-01-27 22:08:28 -08:00
Sergey Prigogin
2647895966 Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
freezes

Added a cache to IndexFileSet and remove a redundant cache from
CPPASTTranslationUnit.

Change-Id: Ifdd6037acf392ad11a4259f1de8cc51d5e153727
2017-01-27 19:57:23 -08:00
Sergey Prigogin
19d8c2a741 Removed unnecessary casts.
Change-Id: Id100ea3e2382598a666cb5596dafe70149aaf6f0
2017-01-27 16:25:22 -08:00