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

25081 commits

Author SHA1 Message Date
Nathan Ridge
ccb64b8b63 Bug 510010 - Uniform initialization in template argument
Change-Id: I55853735e44fdf6240bebb53f2e7ab1a6885b273
2017-01-17 20:42:53 -04:00
Nathan Ridge
68e19daf1e Bug 509191 - Do not create parameter guessing proposal if we know we are not calling the function
Change-Id: I7e45501707e0f58ed6d8745506a3519e29c0763a
2017-01-17 20:38:26 -04:00
Nathan Ridge
9e60a646fd Bug 509182 - Completion of class type in using-declaration
Change-Id: Iacd0ab4bfead2df31cddc78840853eb697139b02
2017-01-17 20:36:39 -04:00
Nathan Ridge
b1d6194e14 Bug 456293 - Completion of destructor name
Change-Id: I53422b1daf693e8ab6c0ad64857e8b07c970444c
2017-01-17 19:34:26 -05:00
Alvaro Sanchez-Leon
1afc08fea8 Bug 507336 - Dynamic Printf parameters format may not be clear
The Properties dialog displayed for a Dynamic printf breakpoint
display a "printf ("  field, however the end parenthesis is not added
and not expected as part of the parameter list as the ending parenthesis
is added internally.

If the user adds it to complete the opening parenthesis the printf does
not work.

This update adds a validation to this field so if the user adds a final
parenthesis, the dialog will display an error message and the OK button
will be disabled.

Change-Id: Ib25c5a11176c6f92c7367246483be0f703e145bd
2017-01-17 13:43:16 -04:00
Alvaro Sanchez-Leon
2e780a54f1 Bug 509812 - Unable to interrupt arm remote target, Neon and GDB 7.12
Adding a GDBJtagDSFFinalLaunchSequence_7_12 class to be used when
interfacing with GDB 7.12 or higher.
A new step is added to the sequence in order to enable async mode,
which will allow us to use the new GDBFullCLIConsole

Change-Id: I08c382550c6dd8a8567a66169495a9e490c35397
2017-01-17 13:37:49 -04:00
Alvaro Sanchez-Leon
028eb67a17 Bug 509895 - GdbBasicCliConsole left running after platform shutdown
when launch fails

Change-Id: I5879f5ed770e63c11077e091f18c5766b243bd88
2017-01-17 12:49:15 -04:00
Marc-Andre Laperle
6cad124cf0 cmake: Fix missing NLS messages
For example, opening the CMake property page, there was a missing
message for the cmake-ui button.

Change-Id: I126fe1cb6e290edc289a2dade44500dd35ed1207
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-16 13:36:44 -04:00
Nathan Ridge
2fe3f7ec9f Bug 509734 - Cross-project references to template instances
Change-Id: I14ed61d2f709f615ba74501e70ac4ddc0db3d05a
2017-01-15 14:08:32 -04:00
Nathan Ridge
2e642428a4 Bug 509731 - Completion between empty parentheses in simple-type-constructor-expression
Change-Id: Ibe87a0fdfb0e7c8dd1a1392bc9643bc03ac73c38
2017-01-15 13:06:55 -05:00
Joseph Henry
df6ebf09e9 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-14 21:43:45 -05:00
Nathan Ridge
eb21d06ecc 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 21:41:17 -05:00
Marc Khouzam
bed0869293 Typo in error message
Change-Id: Icb470bfadd25ae37fcfacece90ec49b4423f88f0
2017-01-14 08:17:49 -05:00
Marc Khouzam
be7ee1e018 Must use DSF Executor to fetch service.
Change-Id: I3750fe262a3c507d26fb761fa6adad0b715313c3
2017-01-14 08:15:47 -05:00
Thomas Corbat
2ee0a093d0 Bug 506972 - Contextual conversion to bool for &&, || and !
Suggestion for implementation of contextual conversion of explicit
conversion operator.
+ Test

Change-Id: I69537f86a9b09120e31115fbe94391a90196952a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 04:52:23 -05:00
Thomas Corbat
eaa1442345 Bug 510151 Braced default initialization by implicit default constructor
Change-Id: Id9f7dba42d45d1e2d9bd557802eb7669946d242f
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 05:50:42 -04:00
Jonah Graham
11de6abfaf Bug 510394: set environment when doing project-less run
Change-Id: I7b82f99f88b9e4c5d2367dfdf98cb3952e6a89eb
2017-01-12 19:51:40 +00:00
Sergey Prigogin
b96dace616 Cosmetics
Change-Id: I778d142e115b0a70a832138a9170bee5541fce4f
2017-01-11 10:52:16 -08:00
Sergey Prigogin
88ee3029fc Bug 510226 - ClassCastException in PDOMCPPUnknownMemberClass.getOwner
Change-Id: Ib85621abe85f8ef29b0cd231f390f6c5447f6434
2017-01-10 19:38:17 -08:00
Nathan Ridge
031938d831 Bug 509871 - ClassCastException in EvalConstructor.computeForFunctionCall()
Change-Id: If4b7dac7a6665619f80a57ebfe83ce8749b7dd9c
2017-01-10 21:52:11 -04:00
Sergey Prigogin
df4a39d0a2 Cosmetics
Change-Id: I51c0b2d876c48c30564177fc2c1323bc7eee1409
2017-01-10 14:14:56 -05:00
Nathan Ridge
aa0d656ab7 Bug 509833 - Fix unsafe method call in ClassTypeHelper.findOverriders()
Change-Id: I3368d7dd22ce8e207f6363509b6830099a8f0236
2017-01-10 04:12:18 -04:00
Nathan Ridge
6132605f03 Bug 509733 - Follow-up to exclude image locations of kind MACRO_DEFINITION
As per bug 344656 comment 5.

Change-Id: Ic28a4c9641533b6ee24d5a67cb8e104889ac4055
2017-01-10 00:52:11 -05:00
Nathan Ridge
8c74efdff4 Bug 402498 - Apply declaredBefore() filtering to index bindings
Change-Id: Ic0abe31c67c88fa6f17eed3a231ec9231cd93cb0
2017-01-09 03:55:43 -04:00
Nathan Ridge
c3504af925 Bug 509733 - Open Declaration with source and target inside a macro invocation
Change-Id: I1f31a94caa0b48ba07380f28dc11ba74629b202e
2017-01-09 01:24:24 -04:00
Sergey Prigogin
a33ebe1eed Cosmetics
Change-Id: Ie2fd6d347a38f33e12223cc756816f19b3787160
2017-01-07 17:01:00 -04:00
Sergey Prigogin
a8872762d0 Bug 509255 - Unresolved symbol due to invalid selection of template
specialization

Change-Id: I130219f4ec7c3339b449d5c1af8a35150362613b
2017-01-07 15:59:51 -05:00
Nathan Ridge
f247b3141c Bug 509798 - Use CElementHyperlinkDetector for assembly editors
Change-Id: Ie9bf16f00f8ae8c3f5cd1a51c441392fed4fc491
2017-01-06 21:03:49 -04:00
Nathan Ridge
6cbac5a454 Bug 509797 - Have CElementIncludeResolver.resolveInclude() leave error handling and disambiguation to the caller
Change-Id: Iacb4bf8de13fcdd0736470676ac3c15f9628fc71
2017-01-06 21:00:54 -04:00
Sergey Prigogin
7bfdf9a591 Bug 510054 - Unrecoverable index file corruption
Change-Id: Iba386baf2c62f10044c4ffc1f399823a94aacf84
2017-01-06 13:58:46 -08:00
Sergey Prigogin
fe3a787663 Bug 510054 - Unrecoverable index file corruption
Change-Id: I5ee83d637afd28388724a7402371fddb41e12c98
2017-01-06 16:08:23 -05:00
Marc-Andre Laperle
6adc3c29a6 Bug 509737 - Disable full GDB console on Mac
Until we can figure out a nice fix for it. See bug for the findings
so far. Hopefully this will just be a stopgap.

Change-Id: Id4f7d91645fd25b140d3eb256da5ebdedc1d0e3f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-06 11:23:44 -05:00
Sergey Prigogin
b63342f10e Generification.
Change-Id: I0bed457d9be84d7585bc7eca8e2d591464b26246
2017-01-05 12:15:54 -08:00
Thomas Corbat
0514094d09 Bug 292236 Fix since tags
Change-Id: I8c61ef66dd2c5b22cd74934240fabdcad66ca91a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-05 11:20:28 -05:00
Thomas Corbat
b218771722 Bug 464498 - sizeof...() operator formatting exception
Fix for exception when formatting sizeof...

Change-Id: Ibe228ee5566b9155e1e86853506f3ee516d05e7a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-05 14:43:49 +01:00
Sergey Prigogin
473c5c8ff1 Bug 509898 - CPPSemantics.isReachableFromAst is slow and is causing UI
freezes

Added caching to the isReachableFromAst method.

Change-Id: Ifb321f0ffde5a3068001711be222d8dadc0990cc
2017-01-04 19:37:27 -08:00
Sergey Prigogin
484895faea Cosmetics.
Change-Id: I5a00dc0fcab3920f190804a37ed9cab5162a437c
2017-01-04 17:24:06 -08:00
Nathan Ridge
ecc4a6766e 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-03 16:29:44 -05:00
Nathan Ridge
cc59253516 Bug 292236 - Consider using-declarations when determining accessibility for content assist
Change-Id: Id6d04b67f3c2c7e3392ba09222f4242fbb66b342
2017-01-03 17:28:08 -04:00
Thomas Corbat
b9baf5b478 Bug 509150 - Formatter fails on nested template IDs
Fix for exception in deeply nested template IDs
+ test

Change-Id: I0c158599c5b8c974823a400251d76ff441b795f3
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-03 08:31:23 -04:00
Morten Kristiansen
10428dd53a [Bug 340300] Fix parallel make when using pre-build steps
Pre-build will always run in parallel to compilation of source files
unless each and every source file depends on pre-build. Also, when
parallel build was enabled, the "Make build target" under "Workbench
Build Behavior" was ignored. Instead of doing make -j all, Eclipse ran
make -j pre-build main-build. While the intentions are good, make will
attempt to build pre-build and main-build in parallel for previous
stated reasons.

This patch changes two things:

1. Eclipse will consistently respect the "Workbench Build Behavior" for
both single- and multi-process build.
2. The generated makefile is changed to guarantee pre-build is run
first.

   Changed from

       all: pre-build main-build

   to

       all:
           $(MAKE) --no-print-directory pre-build
           $(MAKE) --no-print-directory main-build

Change-Id: Icf3a1057ee3b3cc8a04a433820492a4f469e17dd
Signed-off-by: Morten Kristiansen <millibit@gmail.com>
2017-01-03 08:26:18 -04:00
Jonah Graham
425e72de58 Bug 509320: Increase version dependency to current o.e.cdt.core.native
Change-Id: Ifc5af78ff92f6bf8b6b06b34fe22295aa10eb37e
2017-01-03 07:30:40 -04:00
Nathan Ridge
768354b4d4 Bug 509619 - Highlighting of pointer passed by const reference
Change-Id: Ife414e63ad7076334b7ced9d33aa9b59084caa02
2016-12-30 14:00:14 -04:00
Sergey Prigogin
b6c2d930f4 Bug 509774 - StackOverflowError in IndexCPPSignatureUtil.getSignature
Change-Id: Ied4755f3bb3013460aae2584c3941b606102e55b
2016-12-29 20:06:08 -08:00
Nathan Ridge
526f11aabd Bug 509497 - ArrayIndexOutOfBoundsException in EvalCompositeAccess.getType()
Change-Id: I9f72d7b0dcf1436c2b1e0f7780556906266a11a5
2016-12-29 19:22:17 -04:00
Nathan Ridge
74850afc13 Bug 509496 - ClassCastException in CPPASTInitializerList.createEvaluation()
Change-Id: I9008c56a5489b6e4dbf114eddcf1900d8447bff9
2016-12-29 18:21:03 -05:00
Nathan Ridge
19ce7cc137 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
2016-12-29 19:17:08 -04:00
Sergey Prigogin
a5fb52baa3 Bug 509769 - ASTInternal.getDefinitionOfBinding() called for binding of
type ... errors in the log

Have CPPAliasTemplate and CPPAliasTemplateInstance implement
ICPPInternalBinding.

Change-Id: Ibffe6d1baa29dcfe6566de42ec51a3274b893957
2016-12-29 10:52:27 -08:00
Sergey Prigogin
216bc162a4 Bug 509749 - Find References doesn't find a reference to a function
Change-Id: Id90a80e234638b590266a8671dd1bf13178e0f94
2016-12-29 09:59:36 -08:00
Sergey Prigogin
63d3ab9cbe Cosmetics
Change-Id: I098a9c0187c09a203d009a44d73338fdb6308568
2016-12-29 02:52:17 -04:00