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

13196 commits

Author SHA1 Message Date
Marc Khouzam
6fdc9c409c Make new constructor private to avoid adding API
APIs cannot be added in a maintenance build.

Change-Id: I1604112981f4c22ddd2781a9b28d28e3bb9aff52
2017-02-20 21:25:09 -05:00
Marc Khouzam
e65a288a8a Update version to 9.2.1
Change-Id: I4cd4de09491c1d52d4bdb3c02cf0508aed22b59b
2017-02-20 21:24:13 -05:00
Nathan Ridge
50e3f13459 Bug 512262 - Remove the unnecessary ICPPEvaluationOwner interface
This also fixes some ClassCastExceptions caused by types which
implemented ICPPASTInitializerClause but not ICPPEvaluationOwner.

Change-Id: Ie624865ebe476fe760dc28e02b6aef8a43b4c621
2017-02-17 00:06:56 -05:00
Nathan Ridge
63ed21e194 Bug 511726 - Handle unresolved field owner type in CPPASTFieldReference.getFieldPosition()
Change-Id: I0ded6f44f8aad69d54c361432afcb423ed6601b2
2017-02-12 18:57:02 -05:00
Nathan Ridge
e6b9bee424 Bug 511658 - Destructor call via alias template name
Change-Id: I64a7ec62a05345983e9e298a6ba735f63385486b
2017-02-12 17:57:27 -05:00
Nathan Ridge
b2b1e17b37 Bug 511122 - Instantiation of dependent destructor name
Change-Id: I090439b6c525cae3bf054f65f67190811232d64c
2017-02-12 11:26:17 -05:00
Nathan Ridge
a0820d3efd Bug 511427 - ClassCastException in CompositeCPPClassType.wrapBindings()
Change-Id: Id02d59a67b98131aaa4afc8936f89d0985ef93cf
2017-02-11 20:04:01 -05:00
Nathan Ridge
eaca7d04a5 Bug 511274 - Compute correct replacement length for ParameterGuessingProposal
Change-Id: Ia2d6f10086f8d2a9ec922a3ff37eadc8ab94c9ed
2017-02-11 19:06:05 -05:00
Nathan Ridge
00046e9fb2 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-10 22:31:10 -04:00
Nathan Ridge
2363e0ac11 Bug 511186 - Noexcept specifier in type template argument
Change-Id: If0c3299c563829a9b3549f78b346a19e68042456
2017-02-10 22:30:29 -04:00
Nathan Ridge
c1ef041828 Bug 511108 - When parsing as clang, enable the extensions supported by clang in the scanner extension configuration
Change-Id: I43fe278e08b3274c465374503f994e6dc46668e6
2017-02-10 18:07:40 -05:00
Nathan Ridge
d1e58640b3 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-10 17:10:36 -05:00
Nathan Ridge
827a743f97 Bug 511429 - Handle TypeOfDependentExpression in PDOMCPPLinkage.unmarshalBinding()
Change-Id: I2eca438be88bb0d78dae5f511fa1fde46965fa65
2017-02-10 15:08:06 -05:00
Nathan Ridge
fcd3f62d31 Bug 511048 - Offer completion proposals for nonstatic methods in a using-declaration
Change-Id: Ifb3aee10c354aebe606c439cdda1453b1cc29095
2017-02-10 13:35:48 -05:00
Nathan Ridge
bbbf9c7059 Bug 511108 - Do not attempt to resolve the name in an EvalID if the name owner is still dependent
Change-Id: I63dcfa4413569554f30be0c6a94c2b1691515aa4
2017-02-09 17:35:13 -05:00
Nathan Ridge
0eb29c397d Bug 510834 - Propagate substitute failure in EvalID.instantiate() with field owner
Change-Id: I27088b7da18f7fe52d77bd669e32b225a1e99d21
2017-02-09 15:02:52 -05:00
Sergey Prigogin
810257caee Bug 511871 - CContentAssistProcessor.createContext may leak index lock
Change-Id: I828c94484c7b1594ba72551b80cd5ed6e6a8576c
2017-02-07 18:52:14 -04:00
Nathan Ridge
01ead0227a 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-02-04 14:34:50 -05:00
Nathan Ridge
aeb39d6352 Bug 510706 - Handle UniqueType in SignatureBuilder.marshalType()
Change-Id: I3686e3c32cacbcbad299de333eee32241a4697a5
2017-02-04 14:34:29 -05:00
Nathan Ridge
4e0e816a6a Bug 510665 - User-defined literal operator in namespace
Change-Id: Idb93eac23caa16870040cd4092f24a4a02563251
2017-02-02 23:51:00 -05:00
Nathan Ridge
cbe8e1f3cf Bug 497190 - Do not use ParameterGuessingProposal at all when parameter guessing is disabled
Change-Id: I9feda3d365eeb935296adbc7144b0f504017f87a
2017-02-01 11:57:04 -05:00
Nathan Ridge
759a5d9a8e Improve the propagation of the point of instantiation in CompositeValue
Change-Id: Ie874513e0dd9f22b20d40756b895303bd89a8ad1
2017-01-31 20:51:30 -05:00
Nathan Ridge
db59f80812 Bug 483824 - Inline namespace reopened without inline keyword
Change-Id: I48a066e6572e92b4fee90a8faa532469ea3c12e2
2017-01-31 20:51:18 -05:00
Nathan Ridge
1703112285 Bug 510722 - Handle a null AST in ExpandSelectionJob and ControlFlowGraphView
Change-Id: Iafd1b9a32833fb67554902d13955023c149a132e
(cherry picked from commit d45ff124e3)
2017-01-28 14:42:11 -05:00
Nathan Ridge
0dd5bb0f65 Bug 510484 - Restore the recursion protection set in CPPVariable.getInitialValue()
The set was moved to EvalUtil.getVariableValue() in bug 508254, but this
left some paths unprotected. This restores the set to
CPPVariable.getInitialValue() (while keeping the EvalUtil one too).

Change-Id: I4a579720f4bc23d41e50c484649a73c29698373d
2017-01-27 18:45:10 -04:00
Nathan Ridge
1b164b5d87 Bug 509186 - Require an exact match for help proposals when providing context information
Change-Id: I06ccd65a0304921ebf2adbd556a89c8685237a8a
2017-01-25 20:03:49 -04:00
Nathan Ridge
07ca5174d5 Bug 72391 - When completing a function, do not insert parentheses if they are already present
Change-Id: Ia4beb5e7ee288c48f2dbde45b1f34a562b939cab
2017-01-25 20:03:25 -04:00
Nathan Ridge
81cbe87666 Bug 391439 - Do not do replacement for help proposal with context information style
Change-Id: I4d8988e9601e1f1b9722830b61cbf2d4c564a4cd
2017-01-25 16:50:46 -05:00
Doug Schaefer
14b07f490c Bug 510987 - Properly support PIE executables as build output
When checking whether gathering the build output from a
CBuildConfiguration, if a binary is a shared library and is an
ELF file, dig deeper and see if it has an INTERP section in the
program header. That tells us it's actually a PIE executable and
add it to the list.

As a rider to this bill, improve the error message when a Qt install
can't be found for a given toolchain/target.

Change-Id: I8fd0bf2d204e9425b02916d7b17f4309a5ad9dd5
2017-01-25 09:45:36 -05:00
Nathan Ridge
7023f59741 Bug 456293 - Completion of destructor name
Change-Id: I53422b1daf693e8ab6c0ad64857e8b07c970444c
2017-01-24 16:23:53 -05:00
Nathan Ridge
0a23da7e56 Bug 509182 - Completion of class type in using-declaration
Change-Id: Iacd0ab4bfead2df31cddc78840853eb697139b02
2017-01-24 16:10:07 -05:00
Nathan Ridge
d02a030f03 Bug 509191 - Do not create parameter guessing proposal if we know we are not calling the function
Change-Id: I7e45501707e0f58ed6d8745506a3519e29c0763a
2017-01-24 16:05:32 -05:00
Nathan Ridge
72fe8bfa97 Bug 510010 - Uniform initialization in template argument
Change-Id: I55853735e44fdf6240bebb53f2e7ab1a6885b273
2017-01-24 11:04:14 -05:00
Nathan Ridge
1a627cc928 Bug 509734 - Cross-project references to template instances
Change-Id: I14ed61d2f709f615ba74501e70ac4ddc0db3d05a
2017-01-23 23:44:49 -05:00
Doug Schaefer
f810db333f Bug 510885 Fix case where two env vars try to prepend
The env var operation processer always turned the resulting operation
into a replace, even if it was two prepends. That kills the actual
prepend operation. In this case, keep it as a prepend. Also fix the
append case this way.

Unfortunately this is still broken in other multiple operation
cases, like appending then prepending.

Change-Id: Ib158317f16d025a479201745159a2aa3c1335e25
2017-01-23 16:45:58 -05:00
Nathan Ridge
9c8ec378db Bug 509731 - Completion between empty parentheses in simple-type-constructor-expression
Change-Id: Ibe87a0fdfb0e7c8dd1a1392bc9643bc03ac73c38
2017-01-22 13:46:13 -05:00
Joseph Henry
785f442ee1 Bug 495423 - Indexer produces a erroneous "Symbol could not be found"
Added catch all condition to ConditionalExpression type evaluation where
both positive and negative types are the same.

Change-Id: I990b502dfce8ef71c753ac188e072de312b7ea9f
Signed-off-by: Joseph Henry <joseph.henry@sas.com>
2017-01-21 15:19:14 -05:00
Nathan Ridge
0ade726481 Bug 509833 - Follow-up to fix propagation of the point of instantiation in ClassTypeHelper.findOverriders()
Change-Id: Ia59c361e075874dec5551803d985ed20329245da
2017-01-18 14:59:08 -05:00
Nathan Ridge
8eb4c53571 Bug 509871 - ClassCastException in EvalConstructor.computeForFunctionCall()
Change-Id: If4b7dac7a6665619f80a57ebfe83ce8749b7dd9c
2017-01-17 19:48:05 -05:00
Nathan Ridge
9c3cd51e49 Bug 509833 - Fix unsafe method call in ClassTypeHelper.findOverriders()
Change-Id: I3368d7dd22ce8e207f6363509b6830099a8f0236
2017-01-16 12:04:16 -05:00
Nathan Ridge
2a613abcd2 Bug 509733 - Open Declaration with source and target inside a macro invocation
Change-Id: I1f31a94caa0b48ba07380f28dc11ba74629b202e
2017-01-14 22:35:28 -05:00
Nathan Ridge
a72d9b4198 Bug 497500 - Display per-file indexing time for diagnostic purposes
Controlled by the org.eclipse.cdt.core/debug/indexer/activity debug option.

Change-Id: I9eceb9e72697230b51221db7b0680494fefad154
2017-01-14 22:33:42 -05:00
Nathan Ridge
fbbed5cf82 Bug 509662 - Friend function declared in header included at non-global scope
This fix is a hacky workaround. A proper fix involves fixing bug 315964.

Change-Id: I733064fe3aa0d9416854954ef3e3a8250566dac1
2017-01-10 20:55:18 -05:00
Nathan Ridge
86ab2bdefc Bug 509619 - Highlighting of pointer passed by const reference
Change-Id: Ife414e63ad7076334b7ced9d33aa9b59084caa02
2017-01-06 20:06:15 -05:00
Nathan Ridge
07780470e8 Bug 507138 - Avoid collisions between the keys of CProjectAnnotations used for statement folding
This is mostly to mitigate the effects of a bug in ProjectionViewer
(bug 509559). See the discussion in bug 507138 for details.

Change-Id: Icf36b54d6a11892f02214a168ef1c9c284478710
2017-01-05 22:23:36 -05:00
Nathan Ridge
b850913c5d Bug 509497 - ArrayIndexOutOfBoundsException in EvalCompositeAccess.getType()
Change-Id: I9f72d7b0dcf1436c2b1e0f7780556906266a11a5
2017-01-05 22:23:19 -05:00
Nathan Ridge
9cfde14e8f Bug 509496 - ClassCastException in CPPASTInitializerList.createEvaluation()
Change-Id: I9008c56a5489b6e4dbf114eddcf1900d8447bff9
2017-01-05 22:23:08 -05:00
Jonah Graham
e49517eb7c Bug 509320: Increase version dependency to current o.e.cdt.core.native
Change-Id: Ifc5af78ff92f6bf8b6b06b34fe22295aa10eb37e
2017-01-03 12:52:28 +00:00
Nathan Ridge
3f8b3f0870 Bug 508254 - Gracefully handle ProblemBinding arising during instantiation of EvalConstructor
Change-Id: Ib5c5ce10e32cb0e7b42ccf0283709295da311931
2017-01-01 18:56:51 -05:00
Nathan Ridge
94f4b03a06 Bug 508254 - Have adapter bindings for anonymous AST bindings implement ICPPInternalBinding
Change-Id: I02f035e6746aec4a937a325982033d70d711ffc7
2016-12-31 13:29:36 -05:00