Lukas Wegmann
537178b4e4
Bug 477611 - Add support for C++14 Variable Templates
...
Change-Id: Ib3f7097ff35fb1d332dde39b28fc25461e3f3e03
Signed-off-by: Lukas Wegmann <lukas.wegmann@hsr.ch>
2016-01-06 13:11:23 -08:00
Sergey Prigogin
ec9a9fb5c7
Implemented is_empty type trait.
...
Change-Id: I1bb6fc98920eded16186889d66e33a7ca7432456
2016-01-03 22:10:54 -08:00
Marc Khouzam
f3ff649041
Fix copyright of all CDT plugins using the copyright tool from platform.
...
This commit does not add missing copyrights, just updates the date on
the existing ones.
Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Nathan Ridge
db27a94a9e
Bug 484959 - Instantiate return expression of constexpr function
...
template
Change-Id: If9f181581924395ba575167b34aca89a88931578
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-03 01:47:44 -05:00
Sergey Prigogin
d8a72d1080
Revert "Bug 484959 - Instantiate return expression of constexpr function
...
template"
This reverts commit 1e598214ea
.
Change-Id: I5fe7b602d3ecc26660f2bf8fe849ebbb5d6add3a
2015-12-30 17:08:36 -05:00
Sergey Prigogin
36d26c19e8
Revert "Bug 84144 [Parser2] GCC: labels as values"
...
This reverts commit 6e7a509f9b
.
Change-Id: I7efcd8ac5d4c4507e827faed6072d6a314dc0b25
2015-12-30 10:02:08 -08:00
Nathan Ridge
1e598214ea
Bug 484959 - Instantiate return expression of constexpr function
...
template
Change-Id: I3abec0f3bac58db77aacd61bd985c94c2185e3a8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 23:15:35 -05:00
Nathan Ridge
fe5aea4644
Bug 484824 - Disallow initializers in type-ids in C code
...
This was already disalowed in C++ code previously.
Change-Id: I17f0b19253394896a980e2bbeb610bbbf266d012
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:47:12 -05:00
Nathan Ridge
f69b77089b
Bug 467332 - Disambiguation inside noexcept-specifier
...
Change-Id: I5bc7378bd050f3c13753dc98970c4e510f53caf5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:46:30 -05:00
Nathan Ridge
2308f972e2
Bug 383502 - Injected-class-names of different instances of the same
...
template found in different base classes
Change-Id: I4eed0443e95ca388a771f158ba16ec27298f7afb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 19:56:57 -05:00
Nathan Ridge
6b58a751bb
Bug 462764 - Avoid infinite recursion when storing function instance in
...
index
Change-Id: I922b741e62013941753114ea5c17f401093f18f3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 15:13:38 -05: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
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
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
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
226dd80cf6
Testing infrastructure improvements.
...
Change-Id: I495c336f60605a64fd02c243a884ed6c2415ee81
2015-12-03 21:48:31 -08: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
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
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
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
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
Nathan Ridge
3e81f0437c
Bug 475894 - Forward declaration of enum at class scope
...
Change-Id: I51e9bc36350dd403514ce5ec3d48ddb4f456102b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-16 15:37:11 -05:00
Nathan Ridge
e5d0038f49
Bug 481078 - Unwrap typedefs when checking for composite pointer
...
conversion
Change-Id: I70d99f16c32fd2c00971fd20114c45cae3b08785
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-16 14:35:32 -05:00
Sergey Prigogin
3fea214163
Bug 469788 - Ambiguous node in initializer in trailing return type
...
Change-Id: Iff81cad75a57c9482ada515a9e9a34d5d1a956d3
2015-11-06 13:22:45 -05:00
Sergey Prigogin
a61ff51c62
Bug 481274 - ArrayStoreException in parser
...
Change-Id: I4ee9484794925efbb86d7621bbbf5f9932f31773
2015-11-02 15:31:07 -08:00
Sergey Prigogin
392511ef61
Bug 481161 - Namespace resolution problem with index
...
Change-Id: I2adaa53647bcd67f0a1058de4d44dbc808ff84a9
2015-10-30 16:06:29 -07:00
Marc Khouzam
0cfb15135f
Remove reference to java environment in build.properties
...
Change-Id: I053158a23d2783879248320a84a9549e28cfb4d1
2015-09-29 08:57:47 -04:00
Doug Schaefer
64bf3c4f69
Starting to put Qt onto the new build system and launch.
...
Change-Id: I3e65f5d69bfb35d16b2d1135f99517c7a2b2c437
2015-09-28 13:24:41 -04:00
Thomas Corbat
7168d36c58
Bug 474020 - [ASTRewrite] Nested modifications are suppressed by macros
...
Added further check to isStatementWithMixedLocation return false if all
macro expansions are further enclosed in child statements.
Change-Id: Ida6994adbbf76674c37a4c1c214aeea79b4963f2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-08-07 02:11:37 -04:00
Sergey Prigogin
f6828f8daf
Reverted "Bug 393717 - Have constructor definitions reference implicitly
...
called base constructors via implicit names"
Change-Id: Icb3614727b2da9ed8d0e97ee08c7d4ba7e6eef8d
2015-08-04 19:02:32 -07:00
Nathan Ridge
a1cc0b1d07
Bug 447431 - Have ICPPASTSimpleTypeConstructorExpression reference the
...
called constructor via an implicit name
Change-Id: I8c1baf0bbe71d748e3849619613a74ea892db6ee
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 17:23:46 -04:00
Nathan Ridge
b82275a4c0
Bug 86654 - During binding resolution, replace virtual methods with
...
their final overrider where appropriate
Change-Id: I5d6ef9ca5cf8dd4461255ef59ee3384f5060ee4e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 16:49:12 -04:00
Nathan Ridge
cb7f0f3462
Bug 472615 - Instantiate alias template found as binding for template-id
...
in expression
Change-Id: I51aced984cfe87d4b2f2d4ebe359d65ce2845b6c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 13:08:06 -04:00
Nathan Ridge
b0d8f8d3f1
Bug 393717 - Have constructor definitions reference implicitly called
...
base constructors via implicit names
Change-Id: Ib42a44488c5f5851a227295f075f028ff1aa7ded
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 21:00:29 -04:00
Nathan Ridge
005d40d228
Bug 472950 - Account for the possibility of statements inside
...
expressions in some of the parser's heuristic checks
Change-Id: Ia91a00b91e0050838e990d1daad81b524816f8d0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 20:56:19 -04:00
Nathan Ridge
515b275a48
Bug 472436 - Track whether an EvalID involves a pointer dereference
...
Change-Id: If09ff059180bd7bdc50a73d13377838a24ed121f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 15:41:22 -04:00
Nathan Ridge
df76958d18
Bug 472436 - Dependent field reference with pointer as field owner
...
Change-Id: I28ed13ac473249fe79800ae1a2361f87bacc156d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 15:37:25 -04:00
Nathan Ridge
17b4ad3d67
Bug 471907 - Correctly resolve 'typeof' inside a qualifier type in C
...
Change-Id: I96825ce0012f6fd86284ef2ac8643c31c0d29ae4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-12 02:24:01 -04:00
Nathan Ridge
f3141139f8
Bug 472101 - Do not include variables declared in the condition of an
...
if, while, or switch statement in the enclosing block scope
Change-Id: Idd90d85f705af11c84f31ca830eb86682a046b87
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-12 02:21:21 -04:00
Nathan Ridge
ebe2262314
Bug 472199 - Give correct offset to name of unnamed template parameter
...
Change-Id: Ie668dd02827b9e9a9c5e02700937a48471facfe1
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-10 01:23:43 -04:00
Nathan Ridge
6ed25565a6
Bug 421823 - When a base class lookup runs into a deferred instance,
...
disambiguate between a method and a field
Change-Id: I03cf9aa55d79c6b9f2a96bf3cace36e706bfecfb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-09 17:00:30 -04:00