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

12712 commits

Author SHA1 Message Date
Sergey Prigogin
744765be6f Cosmetics.
Change-Id: Ie36a0936b72f053fe557b4ae6e57bf52ee4aa8f4
2015-12-27 16:24:40 -08:00
Sergey Prigogin
f1bcff300c Cosmetics. 2015-12-27 14:34:49 -08:00
Nathan Ridge
e667b2631c Bug 484899 - Navigation to inherited constructor
Change-Id: I3ce24f3fb70e50b50757900c5ccb372abd855dfc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 23:25:13 -05:00
Nathan Ridge
f82660f14c Bug 416748 - Improve semantic highlighting for alias templates
Change-Id: Ic0d0110133a4732cace07d19e995e7c51b5538e3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 19:24:25 -08:00
Nathan Ridge
60e390b0e4 Bug 484618 - Implicit names for calls to user-defined literal operators
Change-Id: I15df0f5729b5c4ba6c557789be5db56baaf3afbc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 14:59:45 -05:00
Nathan Ridge
2cc3e248b4 Move assertInstance() up from AST2TestBase to BaseTestCase
Change-Id: Ibe45d247f6f027691625a04fcc8971f84e2764a7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-25 20:08:55 -05:00
Sergey Prigogin
102c7b58cf Revert "Bug 484618 - Implicit names for calls to user-defined literal
operators"

This reverts commit 7059bfb0ea.

Change-Id: I99c73e4655a29b1e06e8b709451f939175b80031
2015-12-24 13:20:05 -08:00
Nathan Ridge
458d7f2ed1 Bug 479142 - Show correct override marker when multiple overloads in a
base class are overridden in a derived class

Change-Id: If31925a5fbffe1425d22894fdff762ef1c733f25
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-24 15:04:12 -05:00
Nathan Ridge
54e9a84673 Rename ICPPEvaluation.getTypeOrFunctionSet() to getType().
getTypeOrFunctionSet() is an unwieldy name, and since the return type
is IType, it seems reasonable to call the function getType().

Change-Id: I7e3211fdd3b474cc8e33da3e1f398b58122fe89d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:30:50 -05:00
Nathan Ridge
59de5c303f Bug 484619 - Make sure ProblemBindingChecker reports unresolved
user-defined literal operators

Change-Id: Idbb157c33b3aae06a00a10f7e7836e96db9f9b63
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:30:15 -05:00
Nathan Ridge
8ceb33a1fc Bug 484617 - Test highlighting of user defined literal suffix
Change-Id: I8647077131e2d210d23dcd1ad591e864511c7b8e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:26:37 -05:00
Nathan Ridge
7059bfb0ea Bug 484618 - Implicit names for calls to user-defined literal operators
Change-Id: I4eaa320646c772f8321bca1f09cfe32a95eb0e59
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:09:43 -05:00
Nathan Ridge
ff6a07a124 Bug 480648 - Implement DR 1473
This allows user-defined literal operator definitions with no space
between the "" and the identifier.

Change-Id: I1233a2a6554b9baf82a4e91d60f603453fe06a04
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 21:39:05 -05:00
Sergey Prigogin
5b532b0fd2 Bug 484786 - Name resolution problem with variadic alias template
Change-Id: If413f0241cbcf1164cb61e9fcaf371b9f899c56b
2015-12-22 15:21:47 -08:00
Sergey Prigogin
c68dc46f54 Removed a duplicate built-in function definition.
Change-Id: Ic3291375188e3c5ebd9ce452782c65c2fb00e286
2015-12-21 16:10:49 -08:00
Sergey Prigogin
188b2d1ce5 Cosmetics. 2015-12-20 11:49:06 -08:00
Sergey Prigogin
34ddaa4f6d Code streamlining.
Change-Id: I1a5edfbc9fef2772ecca67afc711e4a1893ae714
2015-12-20 11:15:42 -08:00
Sergey Prigogin
9a576557ed Removed an unused method.
Change-Id: Ia49cb3b968061c5e23d2ab10925bde85ffd5350c
2015-12-18 17:53:07 -08:00
Sergey Prigogin
2356094497 Cosmetics.
Change-Id: Ib2caefa5406ea94fe1eec61138193c79fd0f608b
2015-12-18 17:51:33 -08:00
Nathan Ridge
6c750f9289 Bug 484200 - Point of declaration of an alias or alias template
Change-Id: I068b5fd4cf7ae4458e515a5c26265f30abaf9ad8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-17 19:11:57 -05:00
Nathan Ridge
393d36fc3e Bug 475739 - Treat C++ alignment-specifiers as attribute-specifiers
Change-Id: Ib8024a048073efe65c26c871bb3acd0f3bf2f620
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-17 19:10:51 -05:00
Nathan Ridge
6266df700b Bug 484162 - Instantiation of friend of nested class inside template
Change-Id: I28377e20ce63c3e22ea561a98773e73484edf09a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-15 19:49:53 -05:00
mazab
c6dc02c94d Bug 438549 - Fixed a regression for parameterless functions and
re-enabled parameter guessing.

Change-Id: I4b6347999d675335c8e88f4bffed37fcef2e0bc3
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-12-14 19:38:06 -05:00
Sergey Prigogin
01589f6297 Cosmetics. 2015-12-14 15:51:08 -08:00
Alexander Kurtakov
8a834d5970 Cleanups.
Remove useless:
* casts.
* suppress warnings unchecked.
* @see comments 

Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-14 11:06:00 +02:00
Alexander Kurtakov
af49d7701a Fix compilation with Neon M4.
Change-Id: Ia7f862540b14a2eec37804049d4cfb27e9f028e0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-13 20:32:35 +02:00
Nathan Ridge
1491ec0293 Bug 393717 - Have constructor definitions reference implicitly called
base constructors via implicit names

This reverts commit f6828f8daf and
restores the original change by Nathan Ridge

Change-Id: Ib00d5dc56f96b9c3a9d52b08b00f0d238de58e94
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-10 15:53:53 -08:00
Sergey Prigogin
c5d03dddb6 Cosmetics. 2015-12-08 11:59:39 -08:00
Sergey Prigogin
4ac6657792 Bug 438549 - Disabled parameter guessing since it caused a regression
Change-Id: Ie59177428d624196aee9bfc0573da969b15e80fe
2015-12-08 14:58:27 -05:00
Marc-Andre Laperle
3a2cb0431e Remove alltests plugin
- The plugin was not being as useful anymore (we can run all tests in maven)
- The plugin was not being built by the maven build so it would break
without people knowing after the fact
- The suite of tests it was running was rather incomplete

Change-Id: I6c4037eb2bc236ccbc0852d1c08b2647f9c407fd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-06 13:52:12 -05:00
Sergey Prigogin
226dd80cf6 Testing infrastructure improvements.
Change-Id: I495c336f60605a64fd02c243a884ed6c2415ee81
2015-12-03 21:48:31 -08:00
mazab
241a60fe8a Bug 438549 Add mechanism for parameter guessing.
Change-Id: Ib348e401932a9119185dbab8ecacaf80fd3e17ff
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-12-02 19:14:42 -05:00
Alexander Kurtakov
e636b977a9 core.tests: Ensure zipFile is closed.
Try-with-resources to ensure everything is properly closed.

Change-Id: I5c0d286b926a7ff86d48f943347929de03de5f0e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-02 22:58:45 +02:00
Sergey Prigogin
77c74a26ca Bug 481070 - Improved an error message.
Change-Id: I7f5e18d723b4ba7afeff757252a50b00f48a6ac6
2015-12-01 11:09:34 -08:00
Sergey Grant
85b481a99a Bug 481070 - Parameter completion doesn't work inside lambda
Change-Id: I32b0cf54dd349e04fddca17f4141e7fee06f2562
Signed-off-by: Sergey Grant <sergey.grant@me.com>
2015-11-30 20:03:46 -08:00
Nathan Ridge
069d106ab4 Bug 479138 - Impose a global template instantiation depth limit
This protects against rogue template metaprograms that don't terminate.

Change-Id: I9558ceaaed17baddbed84aac67a3c72397b62b64
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 19:40:28 -05:00
Nathan Ridge
9bcb71b26a Bug 479138 - Allow index tests to specify that recursion resolving
bindings are allowed

Change-Id: I3a55cbb1062e8edf4b84920738c9d1cca02b65d6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 19:39:38 -05:00
Nathan Ridge
c531b2d5e6 Bug 479138 - Make template instantiation fail if a non-type argument has
Value.ERROR as its value

This avoids infinite recursion in metaprograms whose termination depends
on the inputs being known.

Change-Id: Ic6972188f69bf324431ce1331ad079fbf2c9039e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 16:28:30 -08:00
Nathan Ridge
28c22cca09 Bug 477359 - Completion node inside attribute specifier
Change-Id: I54902dc41834943a3fcfcca60ebbc2944fa0a68a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 19:26:05 -05:00
Nathan Ridge
f5707a4d62 Bug 479528 - Make an indexer error message more informative
Change-Id: If58c3aa66ebcf15d0a21fd765b64e75bc1137b86
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 19:23:58 -05:00
Nathan Ridge
e9800bd4a1 Bug 480892 - Compare bindings by value equality during final overrider
analysis

Change-Id: I6a530710bdd5ea029726f8ed42e8a3c11f39996b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 17:55:12 -05:00
Nathan Ridge
927dd7502d Bug 482421 - Ensure enumerations stored in the index return their
enumerators in the order of declaration

Change-Id: I49eec356a1b241b1dbe3eb9b7744adce5816a7c5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 17:50:37 -05:00
Nathan Ridge
5cd555717b Bug 479638 - Cache the result of EvalBinding.isConstantExpression()
This helps avoid infinite recursion when a variable's initializer
references itself.

Change-Id: I4667536ebbefd2008afe9003617092a0a5693db0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 17:48:21 -05:00
Nathan Ridge
04bf520618 Bug 480825 - Raise CPPSemantics.MAX_INHERITANCE_DEPTH to accommodate
patterns used by some commonly-used libraries

In particular, Boost.MPL supports compile-time computations with type
lists of up to 20 elements, which require a depth of 40 to support

Change-Id: I89b33205837f0acdb84e2d79cef53ec636a6bc8a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-25 18:50:00 -05:00
Doug Schaefer
e3496e1246 Bug 481978 - Big overhaul of new build system to work with Qt.
Moved new build system to it's own plug-ins. Cleaned up the root
build configuration and toolchain classes and use them for Qt local
run builds. Also hooks Qt local run launch delegate to launch target
manager and associated delegate interface.

Change-Id: I0c0f711ee53005edd399f6d24ba96658d606e1e5
2015-11-24 22:11:33 -05:00
Marc-Andre Laperle
388d94a963 Bug 402313 - [Keybindings] With MS Visual Studio bindings, F5 should be Resume
Change-Id: I928e1a9cb22a535f3c4dd5800c5d364c5a8d2b67
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-20 23:03:59 -05:00
Sergey Prigogin
2af5429bdb Bug 406462 - Fixed a regression in parsing of lambda expressions.
The regression was triggered by the change that introduced support for
designated initializers in C++.

Change-Id: I8e78a8818b8365cce0b878cd4a2c19116b3682d4
2015-11-19 17:52:42 -08:00
Sergey Prigogin
f0bd13a754 Bug 406462 - Allow designated initializers for C++
Change-Id: Iafadba03e6a54b679b4c10ea693a5f8a84ddf839
2015-11-18 21:03:49 -08:00
Sergey Prigogin
49a9b0c3f6 Cosmetics. 2015-11-18 20:25:08 -08:00
Sergey Prigogin
4316da89b5 Cosmetics. 2015-11-16 19:55:36 -08:00