1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00
Commit graph

12653 commits

Author SHA1 Message Date
Marc Khouzam
cee0c789b0 Incremented CDT features version to 8.8.1
Change-Id: Ie86334399654e06554eeec033ee8c220fe45fbb6
2016-01-18 14:39:45 -05:00
Marc Khouzam
31854cb774 Revert "Incremented CDT features version to 8.8.1"
This reverts commit 87b0c4768b.
2016-01-18 14:38:42 -05:00
Marc Khouzam
87b0c4768b Incremented CDT features version to 8.8.1
Change-Id: Ie86334399654e06554eeec033ee8c220fe45fbb6
2016-01-18 14:35:38 -05:00
Nathan Ridge
d0d92c076f 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 13:18:05 -08:00
Sergey Prigogin
49b368428f Bug 484786 - Name resolution problem with variadic alias template
Change-Id: If413f0241cbcf1164cb61e9fcaf371b9f899c56b
2015-12-23 18:34:03 -08:00
Nathan Ridge
70abd7a153 Bug 484200 - Point of declaration of an alias or alias template
Change-Id: I068b5fd4cf7ae4458e515a5c26265f30abaf9ad8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:33:45 -08:00
Sergey Prigogin
3f3a81e704 Removed a duplicate built-in function definition.
Change-Id: Ic3291375188e3c5ebd9ce452782c65c2fb00e286
2015-12-23 18:33:17 -08:00
Nathan Ridge
d74ee1a89c Bug 484162 - Instantiation of friend of nested class inside template
Change-Id: I28377e20ce63c3e22ea561a98773e73484edf09a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:29:44 -08:00
Sergey Prigogin
6a9dccd2b0 Bug 481070 - Improved an error message.
Change-Id: I7f5e18d723b4ba7afeff757252a50b00f48a6ac6
2015-12-23 18:27:44 -08:00
Sergey Grant
61b65becf9 Bug 481070 - Parameter completion doesn't work inside lambda
Change-Id: I32b0cf54dd349e04fddca17f4141e7fee06f2562
Signed-off-by: Sergey Grant <sergey.grant@me.com>
2015-12-23 18:27:27 -08:00
Nathan Ridge
6142db7901 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-12-23 18:27:14 -08:00
Nathan Ridge
1de9e48d1a 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-12-23 18:27:05 -08:00
Nathan Ridge
61e360e3da 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-12-23 18:26:53 -08:00
Nathan Ridge
52e227dee7 Bug 477359 - Completion node inside attribute specifier
Change-Id: I54902dc41834943a3fcfcca60ebbc2944fa0a68a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:26:41 -08:00
Nathan Ridge
674410939b 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-12-23 18:26:07 -08:00
Nathan Ridge
ffd135b3e2 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-12-23 18:25:55 -08:00
Nathan Ridge
cc90dc0cdb 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-12-23 18:25:39 -08:00
Nathan Ridge
82bfb9bc00 Bug 479528 - Make an indexer error message more informative
Change-Id: If58c3aa66ebcf15d0a21fd765b64e75bc1137b86
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:24:06 -08:00
Nathan Ridge
e0ddf0dddf Bug 480892 - Compare bindings by value equality during final overrider
analysis

Change-Id: I6a530710bdd5ea029726f8ed42e8a3c11f39996b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:23:20 -08:00
Sergey Prigogin
cf0b76c58e Bug 469788 - Ambiguous node in initializer in trailing return type
Change-Id: Iff81cad75a57c9482ada515a9e9a34d5d1a956d3
2015-11-06 14:46:37 -08:00
Sergey Prigogin
2e36830918 Bug 481274 - ArrayStoreException in parser
Change-Id: I4ee9484794925efbb86d7621bbbf5f9932f31773
2015-11-06 14:46:36 -08:00
Sergey Prigogin
dc9dfa517b Bug 481161 - Namespace resolution problem with index
Change-Id: I2adaa53647bcd67f0a1058de4d44dbc808ff84a9
2015-10-30 16:29:16 -07:00
Sergey Prigogin
ef148a9ec5 Bug 472950 - Fixed an infinite loop in content assist inside a body of a
lambda.

Change-Id: I5194571ba8a88e67e9cc897be463c5e833700000
2015-10-30 16:29:06 -07:00
Thomas Corbat
c5aacf2a6b Bug 159803 - Console View Ignores EOF
Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.

Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4
2015-10-05 16:10:20 -04:00
Ivan Furnadjiev
96f0e9659c Bug 475344: Don't create empty file-mapping entries in .cproject file
When file language mapping is reset back to inherit, empty (without
configuration, language and path attributes) file-mapping element is
created in .cproject file. This leads to project corruption. 

Add a check for empty entry value in
LanguageMappingStore#addFileMappings.

475344: Broken .cproject file after file language mapping is reset to
inherit
https://bugs.eclipse.org/bugs/show_bug.cgi?id=475344

Change-Id: I6e7d0b8d1199501e087ce42b75f0d8e83fca77cd
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit a48852f21a)
2015-10-02 12:54:10 -04:00
Ivan Furnadjiev
fdaf22169e Bug 475342: Fix CoreException of file language mappings reset to inherit
There is an assumption in 
FileLanguageMappingPropertyPage#computeInheritedMapping that there is
only one overridden file mapping. If both project and workspace file
mappings have been overridden, a CoreException is thrown when they both
are reset to inherit together.

Change-Id: I5c845831ac446eaf65c782b4428b3b72a274fb23
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit 5cc4336072)
2015-10-02 09:30:55 -04:00
Andrew Gvozdev
f635f6c7d8 Bug 470538 - Build selected File(s) should create error/warning marker
Change-Id: I0f37e3733299ab0e0db262a0194c9734b39eea94
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-08-14 07:42:26 -04:00
Doug Schaefer
19629b7ab5 Much progress on the Arduino build system.
Change-Id: I437621ed8af02abddc05852bf6c1b62b50f17a25
2015-08-11 10:07:55 -04:00
Anton Leherbauer
64b26a87d5 Bug 474327 - Update winpty-agent.exe for Windows 10 2015-08-11 14:58:10 +02:00
Sergey Prigogin
fcc251f0b5 Cosmetics. 2015-08-10 17:06:34 -07: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
Martin Stumpf
1386247a0e Bug 436041 - doxygen tags are not generated when using single line format /// or //!
Change-Id: I1c392d1ea360efcc62328ce1541a42439948706b
Signed-off-by: Martin Stumpf <stumpfpublic@gmail.com>
2015-08-05 15:22:59 +02: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
7237fa8ac6 Bug 473576 - If the enclosing element of a search result is a class
member, include the class name in the search view

Change-Id: Idbf86a22c9000328aecbab50f3f562f721bb64f6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:54 -04:00
Nathan Ridge
3b4d359fa6 Bug 473577 - If there are multiple markers on a line, give each one,
from top to bottom, a chance to handle a click

Change-Id: I294b5511e65dfe593dfbb58beda6888da1870779
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:30 -04:00
Nathan Ridge
0292fcf135 Bug 473578 - Include "..." in the signature of a vararg function in
element selection dialogs

Change-Id: I9d44e3067b07035df3a0c1ad8674bcc6c83e4add
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:43:31 -04:00
Sergey Prigogin
566dc53c92 Use the formatter line length for margin.
There is a similar change in JDT:
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=6d5249a7460d4eadb7933705626efb5fbb168d42
2015-08-03 11:38:37 -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
95aa27858c Bug 389191 - NPE in CDocHover.getHoverInfo()
Change-Id: Ied3f42206a5af49577bc487b3c40a1b87a02cd02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 13:07:32 -04:00
Nathan Ridge
8af3f1df86 Bug 86654 - Cache final overrider maps in the AST
Change-Id: I33d79c160b7aa7b014042ea06e0b851abc9cb608
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 04:00:35 -04:00
Nathan Ridge
d9a2c02fbf Bug 86654 - Extract the final overrider analysis used by
SemanticQueries.getPureVirtualMethods() so it can be reused

Change-Id: I5a48bdc3111ac75f2c1ca4f5595fe86defd686b8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 18:09:03 -07: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
Sergey Prigogin
4e6eb33e1f Cosmetics. 2015-07-22 22:12:24 -07:00
Thomas Corbat
f2a86c5b5e Replaced impossible instanceof check in ASTQueries:
It does not make sense for findTypeRelevantDeclarator to check whether
the innermost declarator (result) is of type IASTArrayModifier:
- There is no common subtype of IASTDeclarator and IASTArrayModifier.
- IASTArrayModifier are attached to IASTArrayDeclarators but they are
not resolved as nested declarators.
- Similar to the existence of pointer operators, the resolution of the
innermost type relevant declarator should stop at array declarators.

Change-Id: I9c3673f60a48245eb51ccc8cb94757b87abf0265
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-07-22 08:54:14 +02:00
Nathan Ridge
5623c39492 Bug 421544 - When searching for the target file for Toggle Source/Header,
prefer files closer to the origin file in the directory structure

Change-Id: I82a3c1dc3f09cecb69e07511dd5b8bed62676b6a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-19 12:21:15 -04:00
Wei Li
654c2999e1 Bug 405678 - fix "show references" not showing all references of a
strucuture field in mixed C and C++ code

Change-Id: Ie5c5f96e18d9b949c69fcf8f330e31fe8a9002da
Signed-off-by: Wei Li <wei.r.li@ericsson.com>
2015-07-13 18:14:29 -04:00
Sergey Prigogin
4646b8854f Fixed JavaDoc. 2015-07-13 14:17:32 -07:00