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

12317 commits

Author SHA1 Message Date
Sergey Prigogin
2bc250198d Cosmetics. 2014-09-12 20:59:42 -07:00
Sergey Prigogin
bf5f005736 Cosmetics. 2014-09-12 20:23:31 -07:00
Daisuke Nojiri
58af86640b Bug 443436 - Auto indenter uses spaces where it should use tabs
This change makes auto indentation following a new line use tabs where
possible when "Use tabs only for leading indentations" is disabled.

Change-Id: I97d787a003763697e281bb4a8af0f4760cbd81fb
Signed-off-by: Daisuke Nojiri <dai.nojiri@gmail.com>
Reviewed-on: https://git.eclipse.org/r/32955
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-09-05 18:43:14 -04:00
Sergey Prigogin
3a00410195 Bug 443361 - Template function resolution problem with lambda 2014-09-05 14:27:56 -07:00
Sergey Prigogin
62f4735f8e Bug 443356 - Organize Includes adds an unnecessary include for a
function referenced by a macro
2014-09-04 15:44:59 -07:00
Sergey Prigogin
096fae2b3e Bug 442841 - Organize Includes adds an unnecessary include for the base
class of the type of a field
2014-08-29 22:11:21 -07:00
Markus Schorn
e7cbbb7412 Bug 355299: When looking for dirty editors during search: Only consider text editors 2014-08-29 08:39:38 +02:00
Markus Schorn
8c148855bf Bug 442794: Speed up cancellation of PDOMIndexerJob.ProgressUpdateJob. 2014-08-29 07:38:01 +02:00
Marc-Andre Laperle
554c753e31 Bug 427856 - [Outline] Incorrect parameters of functions with rvalue reference
Change-Id: I4761e65a21d8e958cb5cb1a74ebcf18dfd5a1603
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32513
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-08-28 22:25:20 -04:00
Sergey Prigogin
ca60372079 Bug 442832 - Template instantiation broken due to signature collision 2014-08-28 15:23:23 -07:00
Sergey Prigogin
11f921e614 Code streamlining. 2014-08-28 15:22:23 -07:00
Sergey Prigogin
35044af3ee Cosmetics. 2014-08-28 15:21:48 -07:00
Marc-Andre Laperle
97079f6ad0 Add missing arg for jacoco in in tests. Update jacoco.
Jacoco arguments are missing when executing certain tests. This happens when
argLine is being overriden. We had the same problem in Linux Tools. We solved
it by prepending the argLine with ${tycho.testArgLine}. This should help
improving the Code coverage metric in Sonar.

Also update the jacoco version to fix a bug when building with Java 8.

Change-Id: I7f73f40488efc01fc7d643940c1ac0d5950c900d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32507
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-08-28 15:40:26 -04:00
Nathan Ridge
9a25ff506e Bug 405168 - Make EvalID.instantiate() a bit more robust
Change-Id: I88caaefc8050d65f137109be7e4b810c6b7a32d9
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32449
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-28 12:14:12 -04:00
Nathan Ridge
83169e23d6 Bug 442457 - Support for __final keyword
Change-Id: I8eb4ea82a4b0a462cb373c5a6b1efc9ba7addf82
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32367
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-28 12:05:11 -04:00
Markus Schorn
dc3a09bbce Bug 440057: Fix ClassCastException invoking C/C++ Project Settings Import Wizard. 2014-08-28 13:38:17 +02:00
Sergey Prigogin
565aae76ba Bug 442742 - "Organize Includes" removes a header required for a
namespace alias
2014-08-27 14:14:59 -07:00
Sergey Prigogin
af51f687e2 Cosmetics. 2014-08-27 09:44:38 -07:00
Anton Leherbauer
2ab1d46860 Fix PTYOutputStream.write for off > 0 2014-08-27 16:06:16 +02:00
Sergey Prigogin
9f4cd256f3 Bug 438384 - "syntax error" for class method ref qualifiers (missed
file)
2014-08-26 18:32:07 -07:00
Sergey Prigogin
c4fab21258 Bug 438384 - corrected version in pom.xml. 2014-08-26 18:27:16 -07:00
Sergey Prigogin
1eabfa5241 Bug 438384 - "syntax error" for class method ref qualifiers 2014-08-26 18:15:07 -07:00
Sergey Prigogin
33b70bb10c Cosmetics. 2014-08-26 18:14:41 -07:00
Paulo Garcia
3bfe2d21a7 Bug 285126 - Added capability to show enum's integer value instead of
its constant name. 

Change-Id: Iacda2b19dc22497db60f88cf301d01d8654ca0ad
Signed-off-by: Paulo Garcia <pgarcia@qnx.com>
Reviewed-on: https://git.eclipse.org/r/31807
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-26 14:54:11 -04:00
Thomas Corbat
18bbc00489 Refurbished change generator tests:
- Moved tests from separate files to categorized files.
- Introduced node factory in base class.
- Removed use of specific classes, replaced with interaces.
- Moved some tests to apropriate suites.

Change-Id: I71557c0132b888bdc22788f545fec3b03aa732c2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/32251
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-26 02:05:02 -04:00
Nathan Ridge
67a5a4b31f Bug 442213 - Field reference in pack expansion
Change-Id: Iea4f20ced1050d66aad178d43db0c5dac15faed2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32191
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-25 21:42:30 -04:00
Nathan Ridge
83600a15dc Bug 399145 - Point of declaration of template parameter
Change-Id: Ib5b192758d413ab1ac5116243ac2e4a7f7c7951c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32213
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-25 21:20:21 -04:00
Nathan Ridge
905d722c3e Bug 439923 - Fix an assertion failure in
AbstractCPPClassSpecializationScope.getBindings()

Change-Id: I4f6485b016d87d98fc980adf8c0dce9fa139aecf
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32203
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-25 21:18:38 -04:00
Nathan Ridge
767ceb4a42 Bug 435075 - Avoid an infinite recursion during name resolution
Change-Id: Ie9ac34b184f7b7f6b5196aad716d0fc3696c1e6e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32193
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-25 21:18:01 -04:00
Sergey Prigogin
b18a544841 Added a warning to toString method. 2014-08-25 11:04:06 -07:00
John Dallaway
e23f4ef14b Bug 442186: Code formatter handling of CRLF after single line comment
Change-Id: I1a17ec992fd881851e076c732629ac912effc2f1
Signed-off-by: John Dallaway <john@dallaway.org.uk>
Reviewed-on: https://git.eclipse.org/r/32024
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-22 14:42:08 -04:00
Sergey Prigogin
698bb0afe4 More consistent treatment of anonymous namespaces betwenn index and
non-index bindings.
2014-08-21 22:31:17 -07:00
Sergey Prigogin
e540100c9f Fixed an invalid version constraint. 2014-08-19 19:58:44 -07:00
Sergey Prigogin
55b2de4124 Bug 442117 - Name resolution problem with namespace alias. 2014-08-19 19:34:05 -07:00
Sergey Prigogin
bdfe95527e Cosmetics. 2014-08-19 19:33:38 -07:00
Sergey Prigogin
9bc12f31aa Code streamlining. 2014-08-19 19:33:04 -07:00
Sergey Prigogin
344cd17bc9 Added toString method. 2014-08-19 19:32:37 -07:00
Sergey Prigogin
5e4ab381c6 Cosmetics. 2014-08-19 19:32:03 -07:00
Thomas Corbat
ec2fe61a04 Bug 441859 - [ASTRewrite] Replacing Replaced Node Throws IllegalArgEx
Changed ASTRewrite to also accept the root node as valid target for
replacement. Added a test to show the resulting modification store setup
works as expected.

Change-Id: I471d4399690f3a5bb7dcddca45b3f848826b696c
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/31747
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-18 02:46:56 -04:00
Nathan Ridge
05d86fc1d1 Bug 439896 - Handle problem bindings in
CPPCompositesFactory.getCompositeEvaluation()

Change-Id: I96a9961f39b6bf8d9109ebe0daa30194b8f3fed4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31801
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-17 13:34:49 -04:00
Nathan Ridge
82f3bca7d0 Bug 441701 - Add ICPPASTFunctionCallExpression.getOverload()
Change-Id: I42e2180c28db135d5d7d135cccde44f839720bbd
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31799
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-17 13:33:59 -04:00
Sergey Prigogin
4e69217016 Cosmetics. 2014-08-14 20:08:46 -07:00
Sergey Prigogin
63053a556c Cosmetics. 2014-08-14 13:59:30 -07:00
Thomas Corbat
ac8965a904 Bug 418493 - [Content Assist] Show default values within parameter hints
Preferences:
- Displaying parameters with default argument
- Displaying default arguments

Default arguments for functions and templates.

Conflicts:
	core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/DOMCompletionProposalComputer.java

Conflicts:
	core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTests.java
	
Rebased to changed parent

Change-Id: Ifb505f5723dc26212c34f492d3d49b7badf366ea
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30646
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-08-14 02:55:59 -04:00
Thomas Corbat
ebb9bced0d Bug 440422 - Completion in Using Declarations
Fix for content assist in the context of using declarations:
- No parameter hint for using declaration (template and function)
- No trailing semicolon if one is already present
- Parameter hint for invocation in template arguments
- Space after comma in function suggestions

Some refactoring to content assist test infrastructure.


Change-Id: Id2483ddefe1c35572a9554fdadb0b6416402446a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30584
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-13 09:06:04 -04:00
Alena Laskavaia
a458a0fe9f Fixing NPE in ACBuilder
ACBuilder now fails to add a marker if some other marker have no
linumber attribute. Added default line and severity for marker
comparision purposes.

Change-Id: I9c42f660cae08c3303382d8c35aa6404e7130652
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31398
Tested-by: Hudson CI
2014-08-12 08:46:41 -04:00
Sergey Prigogin
4dd9a12177 Cosmetics. 2014-08-11 20:17:08 -07:00
Nathan Ridge
de6b33924c Bug 437675 - Handle PDOM function instances in
CPPTemplates.instantiateBinding()

Change-Id: I3bf9ee9f5db0521e60c302b96db39513873aeb1b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31347
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 13:35:40 -04:00
Nathan Ridge
3e540156b6 Bug 404245 - Check that a function call has enough arguments after
template argument deduction

Change-Id: I2824e908dc6ea9796c9400e81f3ef34d97406dc6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31345
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 13:33:27 -04:00
Nathan Ridge
42235704cb Bug 438348 - Allow decltype-specifiers in base-specifiers
Change-Id: Ib027b78aa207e1fe0e1aef56fae7eeace041118c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31341
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 13:30:57 -04:00