1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00
Commit graph

12346 commits

Author SHA1 Message Date
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
Alena Laskavaia
b7ec8deec4 Bug 242405 - Binary file editor does not refresh when binary is rebuilt
Change-Id: I0af100959f8f61b2d2735f9d0d9cd42b6c91e590
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31300
Tested-by: Hudson CI
2014-08-11 11:28:30 -04:00
Thomas Corbat
4d4ab6cafd Bug 440710 - [ASTRewriter] UnhandledASTModificationException when ...
When a statement has been inserted into a replaced compound statement
createModifiedChildArray is called for the new compound statement. The
insert modification is attached to its sibling node. The implementation
for handling this insert was on the parent (compound statement) though.
I moved this (adapted) functionality to handling of the sibling nodes.
With the way insert modifications are stored the previous implementation
cannot have worked. Furthermore, there is no test code which covers the
deleted code.

Change-Id: I9615787177c12a870df7c9663170f38b2c28accb
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30796
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-08-11 07:19:41 -04:00
Thomas Corbat
21a7118692 Bug 440447 - ASTRewrite Loses Nested Modifications
Modified ChangeGeneratorWriterVisitor to cope with nested modifications
as described in the ticket.

Also added some related change generator tests to the corresponding
tests suites.

Refined change to cope with sibling changes too.

Change-Id: Ia04f3d01e50375828588e7fa65e2ec3782c58e79
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30525
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 05:07:07 -04:00
Sergey Prigogin
cbc4e67f8e Moved TextUtil class to a more prominent place. 2014-08-08 18:45:28 -07:00
Sergey Prigogin
191b4111f8 Cosmetics. 2014-08-08 18:42:02 -07:00
Sergey Prigogin
ebac470813 Added support for radio buttons corresponding to non-boolean preferences 2014-08-08 18:40:47 -07:00
Sergey Prigogin
4d0919d7d2 Code streamlining. 2014-08-08 18:39:28 -07:00
Sergey Prigogin
2009946e05 Cosmetics. 2014-08-08 18:38:13 -07:00
Sergey Prigogin
f0a593fbb7 Fixed compiler warnings.
Change-Id: I271db5f3e4f64f13e260e66d1ea103eedfbdde4d
2014-08-08 18:36:57 -07:00
Marc Khouzam
f3971c0510 Missing @since tags
Change-Id: I6399f0151f1d1d9dd3b1a63ccb9757b2b3bf80fe
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-08-08 15:16:47 -04:00
Nathan Ridge
8e80f515fa Bug 441394 - Fix an NPE in EvalFunctionSet.isConstantExpression()
Change-Id: I1a4d887d064d8467e2e5e9371ab4ad0a93532089
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31247
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-08 12:46:39 -04:00
Nathan Ridge
b65c120429 Bug 438348 - Leave parameter pack of nested template intact when
substituting arguments to enclosing template

Change-Id: I9c5fcca535bc4cecb05186fc498708159954a1a5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31249
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-08 12:45:21 -04:00
Alena Laskavaia
15402f6488 Bug 441385 - Binary editor on big files blocks UI
Change-Id: I4ac0c8eff4e77045657f0fe5921a86a966a22922
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31238
Tested-by: Hudson CI
2014-08-08 11:28:53 -04:00
Sergey Prigogin
6ff7af7dc6 Cleanup of Messages.properties and Messages.java files continued.
Change-Id: Ia8dd64344b368c00d72006a9abdea7cc2019d637
2014-08-04 12:40:50 -07:00
Sergey Prigogin
5cc7505a12 Cleanup of Messages.properties and Messages.java files.
Change-Id: Iea47d46a3ea201722fbe666a03c89dde7e5e4961
2014-08-04 11:15:40 -07:00
Sergey Prigogin
914dc65ffb More descriptive names of temporary files.
Change-Id: Ib3627818fdff1d2d8c63cabe7ed2c3790448f09d
2014-08-04 09:44:21 -07:00
Sergey Prigogin
af7c0a635b Cosmetics.
Change-Id: I3f589111ad5e765ebfaa56829ff24ec437f084f8
2014-08-01 18:33:31 -07:00
Sergey Prigogin
bfb4854e5d Cleanup of temporary files created by tests.
Change-Id: Iaca298c1fd237787ea06cba5307cc473034ad314
2014-08-01 13:59:17 -07:00
Sergey Prigogin
794e81355f Renamed messages.properties to Messages.properties.
Change-Id: I764a4d9b4d1cd17543b92dd6fd53578508337b3d
2014-08-01 12:22:27 -07:00
Sergey Prigogin
1f25d0cb80 Corrected a version in pom.xml
Change-Id: I1f529ed791be34b316a2b151d7f05a57f605d660
2014-08-01 12:12:21 -07:00
Sergey Prigogin
093b2efacf Proper enablement of Build Configurations Build/Clean commands.
Change-Id: I7446a357cc2bafdb5015c3a988a1ad0b6f23a8c6
2014-08-01 11:55:31 -07:00